Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001365/0.001365, allocations: 118.2 kB / 17.17 MB, free: 6 MB / 14.72 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.001435/0.001435, allocations: 211.3 kB / 20.13 MB, free: 3.055 MB / 14.72 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 1.584/1.584, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.937/2.937, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 69.62 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.11, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002829/1.113, allocations: 1.465 MB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007769/1.114, allocations: 391.4 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/1.114, allocations: 1.094 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/1.114, allocations: 4.453 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.686e-05/1.114, allocations: 1.156 kB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/1.114, allocations: 120.8 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/1.114, allocations: 24.64 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/1.114, allocations: 10.44 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.09e-05/1.114, allocations: 9.469 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/1.114, allocations: 9.719 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/1.114, allocations: 2.969 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/1.115, allocations: 283.2 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/1.115, allocations: 9.719 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/1.115, allocations: 11.48 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/1.115, allocations: 106.4 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/1.115, allocations: 0 / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.934e-06/1.115, allocations: 5.672 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.478e-06/1.115, allocations: 0 / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005217/1.116, allocations: 360 kB / 1.282 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.116, allocations: 10.41 kB / 1.282 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.166e-05/1.116, allocations: 1.312 kB / 1.282 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.813e-05/1.116, allocations: 35.94 kB / 1.282 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/1.116, allocations: 2.688 kB / 1.282 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/1.116, allocations: 171.9 kB / 1.282 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/1.116, allocations: 8.812 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/1.116, allocations: 5.531 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/1.116, allocations: 53.34 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/1.116, allocations: 0.5625 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/1.116, allocations: 1.203 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.116, allocations: 0.5938 kB / 1.282 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/1.116, allocations: 40.95 kB / 1.282 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/1.117, allocations: 252.7 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/1.117, allocations: 40.62 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/1.117, allocations: 27.84 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/1.118, allocations: 455.5 kB / 1.283 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.118, allocations: 43.56 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/1.118, allocations: 0 / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004215/1.118, allocations: 81.8 kB / 1.283 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/1.118, allocations: 52.83 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/1.118, allocations: 107.4 kB / 1.283 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.118, allocations: 30.2 kB / 1.283 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/1.118, allocations: 87.2 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/1.118, allocations: 4.984 kB / 1.283 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/1.118, allocations: 16.78 kB / 1.283 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.119, allocations: 313.3 kB / 1.283 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/1.119, allocations: 18.69 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/1.119, allocations: 15.02 kB / 1.283 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/1.119, allocations: 45.38 kB / 1.284 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.119, allocations: 1.188 kB / 1.284 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002181/1.119, allocations: 67.09 kB / 1.284 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.119, allocations: 6.281 kB / 1.284 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/1.119, allocations: 0 / 1.284 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.119, allocations: 5.344 kB / 1.284 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/1.119, allocations: 9.375 kB / 1.284 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/1.119, allocations: 4.781 kB / 1.284 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/1.119, allocations: 5.391 kB / 1.284 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/1.119, allocations: 0.8125 kB / 1.284 GB, free: 8 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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 8.126e-05/1.119, allocations: 112.4 kB / 1.284 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/1.119, allocations: 10.67 kB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/1.12, allocations: 72.84 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.12, allocations: 5.5 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.12, allocations: 0 / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.12, allocations: 0.6562 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/1.12, allocations: 169.5 kB / 1.284 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.12, allocations: 0 / 1.284 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/1.12, allocations: 13.47 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/1.12, allocations: 0 / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/1.12, allocations: 2 kB / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.12, allocations: 0 / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.12, allocations: 0 / 1.284 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/1.12, allocations: 164.9 kB / 1.284 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/1.12, allocations: 82.84 kB / 1.284 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/1.12, allocations: 0.8438 kB / 1.284 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/1.12, allocations: 6.344 kB / 1.284 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/1.12, allocations: 3.516 kB / 1.284 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/1.12, allocations: 8.031 kB / 1.284 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.364e-05/1.12, allocations: 86.7 kB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.12, allocations: 0 / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000234/1.121, allocations: 16.28 kB / 1.284 GB, free: 7.289 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.0006761/1.121, allocations: 0.7207 MB / 1.285 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000229/1.122, allocations: 36.62 kB / 1.285 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.122, allocations: 1.5 kB / 1.285 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.152e-05/1.122, allocations: 19.22 kB / 1.285 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/1.122, allocations: 7.25 kB / 1.285 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/1.123, allocations: 149.3 kB / 1.285 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/1.123, allocations: 0.6781 MB / 1.286 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.425e-05/1.123, allocations: 2.016 kB / 1.286 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/1.123, allocations: 13.53 kB / 1.286 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.123, allocations: 0 / 1.286 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/1.141, allocations: 1.666 MB / 1.288 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.458/9.599, allocations: 9.969 kB / 1.288 GB, free: 5.312 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 16.106981522985734]