Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008252/0.0008252, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008705/0.0008705, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.885/0.885, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.691/1.691, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.438e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001018/0.001032, allocations: 0.5878 MB / 0.9511 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004354/0.001468, allocations: 290.9 kB / 0.9514 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.001481, allocations: 0 / 0.9514 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.001495, allocations: 0 / 0.9514 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-06/0.001501, allocations: 0 / 0.9514 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.001862, allocations: 115.6 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.005e-05/0.001902, allocations: 0 / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.001941, allocations: 4 kB / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.247e-05/0.001963, allocations: 4 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.002e-05/0.001983, allocations: 0 / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.001995, allocations: 0 / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.002262, allocations: 263.6 kB / 0.9518 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.002272, allocations: 0 / 0.9518 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.002286, allocations: 0 / 0.9518 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.002438, allocations: 119.7 kB / 0.9519 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.00244, allocations: 0 / 0.9519 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002441, allocations: 0 / 0.9519 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002445, allocations: 3.938 kB / 0.9519 GB, free: 2.055 MB / 0.9011 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.0002151/0.00266, allocations: 254.2 kB / 0.9521 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.002704, allocations: 12.03 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.583e-05/0.00273, allocations: 30.75 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.002769, allocations: 0.9375 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.228e-05/0.002821, allocations: 105.7 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.00283, allocations: 384 / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-06/0.002836, allocations: 384 / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.535e-05/0.002911, allocations: 38.27 kB / 0.9523 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.002918, allocations: 192 / 0.9523 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.002924, allocations: 4.312 kB / 0.9523 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.002929, allocations: 4.125 kB / 0.9523 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.002947, allocations: 7.984 kB / 0.9523 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.367e-05/0.00304, allocations: 116.7 kB / 0.9524 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.33e-05/0.003073, allocations: 22.55 kB / 0.9525 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.225e-05/0.003086, allocations: 4.859 kB / 0.9525 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/0.00335, allocations: 56 kB / 0.9525 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.003367, allocations: 30.56 kB / 0.9525 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.003368, allocations: 0 / 0.9525 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001093/0.003477, allocations: 29.7 kB / 0.9526 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.003503, allocations: 59.34 kB / 0.9526 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.234e-05/0.003525, allocations: 89.86 kB / 0.9527 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.003533, allocations: 25.7 kB / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.003551, allocations: 84.08 kB / 0.9528 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.003572, allocations: 4.125 kB / 0.9528 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.003593, allocations: 17.72 kB / 0.9528 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.003735, allocations: 314.8 kB / 0.9531 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.003742, allocations: 0 / 0.9531 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-06/0.003747, allocations: 0 / 0.9531 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.051e-05/0.003768, allocations: 8.859 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.003769, allocations: 0 / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.695e-05/0.003806, allocations: 33.7 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.003818, allocations: 4 kB / 0.9532 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.003823, allocations: 4.094 kB / 0.9532 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.003833, allocations: 4 kB / 0.9532 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.003867, allocations: 7.938 kB / 0.9532 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.003873, allocations: 3.938 kB / 0.9532 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-06/0.00388, allocations: 3.984 kB / 0.9532 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.003885, allocations: 4 kB / 0.9532 GB, free: 0.5 MB / 0.9011 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 4.091e-05/0.003926, allocations: 105.8 kB / 0.9533 GB, free: 396 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-06/0.003935, allocations: 4 kB / 0.9533 GB, free: 392 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/0.00399, allocations: 32.7 kB / 0.9534 GB, free: 356 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.003992, allocations: 7.969 kB / 0.9534 GB, free: 348 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.003996, allocations: 3.938 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.004, allocations: 11.91 kB / 0.9534 GB, free: 332 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.055e-05/0.004051, allocations: 120.8 kB / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004051, allocations: 0 / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.004057, allocations: 0 / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.11e-07/0.004057, allocations: 0 / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.004062, allocations: 0 / 0.9535 GB, free: 168 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.6e-07/0.004062, allocations: 4 kB / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.004064, allocations: 3.938 kB / 0.9535 GB, free: 160 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.05e-05/0.004114, allocations: 61.06 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-06/0.004117, allocations: 4.031 kB / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-06/0.004124, allocations: 0 / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-06/0.004127, allocations: 0 / 0.9536 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.004138, allocations: 3.938 kB / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-07/0.004139, allocations: 0 / 0.9536 GB, free: 72 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.004165, allocations: 79.28 kB / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004165, allocations: 0 / 0.9536 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001301/0.004295, allocations: 15.94 kB / 0.9537 GB, free: 15.98 MB / 0.9167 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.0002515/0.004546, allocations: 0.6046 MB / 0.9542 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.041e-05/0.004597, allocations: 12 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.004598, allocations: 0 / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.004602, allocations: 4 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.143e-05/0.004694, allocations: 6.281 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.004898, allocations: 115.1 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.683e-05/0.004925, allocations: 51.36 kB / 0.9544 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.483e-05/0.00494, allocations: 11.98 kB / 0.9544 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/0.004953, allocations: 8.625 kB / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of SimCode: time 2.9e-07/0.004953, allocations: 4 kB / 0.9544 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.0177, allocations: 1.831 MB / 0.9562 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/6.635, allocations: 8.047 kB / 0.9562 GB, free: 13.37 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.514493037946522]