Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 443.5 MB / 0.7304 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.89 kB / 1.059 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2723, allocations: 160.7 MB / 1.216 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001769/0.2741, allocations: 0.5859 MB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006317/0.2747, allocations: 326.8 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.2747, allocations: 0 / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.398e-06/0.2747, allocations: 0 / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.2747, allocations: 0 / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.2751, allocations: 115.3 kB / 1.217 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.973e-05/0.2752, allocations: 3.984 kB / 1.217 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.2752, allocations: 7.984 kB / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.118e-05/0.2752, allocations: 3.938 kB / 1.217 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.906e-05/0.2753, allocations: 7.938 kB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.236e-06/0.2753, allocations: 0 / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.2757, allocations: 267.7 kB / 1.217 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.2757, allocations: 8 kB / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.2757, allocations: 0 / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.2759, allocations: 88 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2759, allocations: 4 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2759, allocations: 0 / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2759, allocations: 0 / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003233/0.2762, allocations: 339.3 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2762, allocations: 8.031 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.2763, allocations: 38.73 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.2763, allocations: 4.938 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2764, allocations: 160.4 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.2764, allocations: 384 / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.2764, allocations: 4.375 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.2765, allocations: 30.27 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2765, allocations: 3.938 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-06/0.2765, allocations: 0 / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2765, allocations: 0 / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.2766, allocations: 7.938 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.2767, allocations: 149.7 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.62e-05/0.2767, allocations: 18.52 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.2767, allocations: 8.859 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004832/0.2772, allocations: 425.6 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2773, allocations: 30.56 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2773, allocations: 0 / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.2774, allocations: 57.52 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.2774, allocations: 51.41 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.221e-05/0.2775, allocations: 89.86 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.2775, allocations: 29.64 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.2775, allocations: 80.14 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.2775, allocations: 0 / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.2776, allocations: 13.72 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2777, allocations: 310.8 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.2777, allocations: 4.125 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.2777, allocations: 8 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/0.2777, allocations: 4.859 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2777, allocations: 0 / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.999e-05/0.2778, allocations: 41.62 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2778, allocations: 4 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2778, allocations: 3.938 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2778, allocations: 0 / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.415e-05/0.2779, allocations: 4 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2779, allocations: 4.094 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-06/0.2779, allocations: 0 / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.2779, allocations: 0 / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/0.2779, allocations: 105.8 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.278, allocations: 4 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.252e-05/0.278, allocations: 48.69 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.278, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2781, allocations: 4.031 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2781, allocations: 0 / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.758e-05/0.2782, allocations: 149.7 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.2782, allocations: 0 / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.2782, allocations: 0 / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2782, allocations: 3.938 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2782, allocations: 3.938 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.2782, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2782, allocations: 8 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.959e-05/0.2783, allocations: 57.14 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.2783, allocations: 81.09 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.2783, allocations: 3.938 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-06/0.2783, allocations: 4 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.2783, allocations: 3.938 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.2783, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.2784, allocations: 75.28 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2784, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00019/0.2786, allocations: 11.94 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004192/0.279, allocations: 0.6086 MB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.065e-05/0.279, allocations: 15.92 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.279, allocations: 3.938 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/0.279, allocations: 96 / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.2792, allocations: 8.062 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.2794, allocations: 110.5 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2797, allocations: 0.6767 MB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.329e-05/0.2797, allocations: 0 / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.2797, allocations: 11.44 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.2797, allocations: 0 / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.3031, allocations: 1.17 MB / 1.222 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/7.136, allocations: 8.859 kB / 1.222 GB, free: 8.957 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.406276723995688]