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.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.001371/0.001371, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001409/0.001409, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.484/1.484, allocations: 225.6 MB / 249.4 MB, free: 3.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.941/2.941, allocations: 476.7 MB / 0.7629 GB, free: 15.32 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.91 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.912/0.9139, allocations: 168.7 MB / 1.272 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.00229/0.9162, allocations: 1.466 MB / 1.273 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006374/0.9168, allocations: 389.9 kB / 1.274 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.9169, allocations: 0 / 1.274 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.9169, allocations: 0.7812 kB / 1.274 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.9169, allocations: 5.438 kB / 1.274 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.9174, allocations: 122 kB / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.9174, allocations: 30.02 kB / 1.274 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.9175, allocations: 3.156 kB / 1.274 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.9176, allocations: 12.5 kB / 1.274 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.9176, allocations: 13.81 kB / 1.274 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.9176, allocations: 6.688 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.918, allocations: 274.4 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.918, allocations: 6.109 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.918, allocations: 11.3 kB / 1.274 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.9182, allocations: 114 kB / 1.274 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9182, allocations: 5.094 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9182, allocations: 0 / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.9182, allocations: 0 / 1.274 GB, free: 6.676 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.0003955/0.9186, allocations: 366.5 kB / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.9186, allocations: 8.812 kB / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.9187, allocations: 2.781 kB / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.078e-05/0.9188, allocations: 167.9 kB / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.9188, allocations: 384 / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.9188, allocations: 5.812 kB / 1.275 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.919, allocations: 57.58 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.919, allocations: 1.188 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.919, allocations: 3.938 kB / 1.275 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.919, allocations: 1 kB / 1.275 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.9192, allocations: 37.05 kB / 1.275 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.9194, allocations: 249.7 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.9195, allocations: 43.28 kB / 1.275 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.9196, allocations: 24.53 kB / 1.275 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005873/0.9202, allocations: 458.1 kB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.9202, allocations: 35.27 kB / 1.276 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.9202, allocations: 3.938 kB / 1.276 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.9206, allocations: 79.69 kB / 1.276 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.9206, allocations: 55.97 kB / 1.276 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.578e-05/0.9206, allocations: 104.2 kB / 1.276 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.9206, allocations: 25.7 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.9207, allocations: 87.69 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.9207, allocations: 5.078 kB / 1.276 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.9207, allocations: 16.06 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.9208, allocations: 313.8 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.081e-05/0.9208, allocations: 23.42 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.9209, allocations: 13.08 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.921, allocations: 41.39 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.921, allocations: 0.7969 kB / 1.276 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.9212, allocations: 79.88 kB / 1.277 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.9212, allocations: 10.44 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.9213, allocations: 0.7188 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9213, allocations: 0 / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.9213, allocations: 9.391 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.9213, allocations: 0.8125 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.9214, allocations: 5.531 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.9214, allocations: 1.391 kB / 1.277 GB, free: 4.465 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 4.142e-05/0.9214, allocations: 117.1 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.9215, allocations: 1.531 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.9217, allocations: 81.62 kB / 1.277 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9217, allocations: 4.844 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9217, allocations: 0.7188 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.9217, allocations: 0 / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.9218, allocations: 162.1 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.9218, allocations: 0 / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.9219, allocations: 16.64 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9219, allocations: 1.422 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.9219, allocations: 0.75 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9219, allocations: 0.7812 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9219, allocations: 0.5156 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.9221, allocations: 168.2 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.9221, allocations: 88.52 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.9221, allocations: 4 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.9222, allocations: 5.625 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.9222, allocations: 3.953 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.9222, allocations: 0.9062 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.318e-05/0.9222, allocations: 80.25 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9222, allocations: 0 / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002339/0.9225, allocations: 20.92 kB / 1.277 GB, free: 3.75 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.0001442/0.9226, allocations: 110.8 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.9228, allocations: 36.59 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9228, allocations: 0 / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.268e-05/0.9229, allocations: 24.88 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.9232, allocations: 6 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.9234, allocations: 125.3 kB / 1.278 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.801e-05/0.9235, allocations: 0.6773 MB / 1.278 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.9236, allocations: 3.812 kB / 1.278 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.9236, allocations: 8.719 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.9236, allocations: 0 / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of Templates: time 0.003154/0.9267, allocations: 0.7243 MB / 1.279 GB, free: 2.742 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.911845633760095]