Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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.0009468/0.0009468, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001704/0.001704, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1/1, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.091/2.091, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.507e-05, allocations: 4.984 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002713/0.002738, allocations: 1.509 MB / 0.8809 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002766/0.003014, allocations: 91.73 kB / 0.881 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.003056, allocations: 0.875 kB / 0.881 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.003086, allocations: 0 / 0.881 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.003148, allocations: 8.531 kB / 0.881 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.003347, allocations: 19.97 kB / 0.881 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.647e-05/0.003423, allocations: 25.02 kB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.003512, allocations: 4 kB / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/0.003572, allocations: 15.92 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.955e-05/0.003612, allocations: 11.98 kB / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.003627, allocations: 0 / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.491e-05/0.003692, allocations: 16.7 kB / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.003708, allocations: 4 kB / 0.8811 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.003728, allocations: 9.594 kB / 0.8811 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.003841, allocations: 31.89 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.003845, allocations: 4 kB / 0.8811 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003846, allocations: 0 / 0.8811 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.003851, allocations: 3.984 kB / 0.8811 GB, free: 4.32 MB / 0.8386 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.0003626/0.004213, allocations: 361 kB / 0.8814 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.004252, allocations: 9.375 kB / 0.8815 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.004416, allocations: 20.88 kB / 0.8815 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.42e-05/0.004511, allocations: 112.6 kB / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.004526, allocations: 1.969 kB / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.004533, allocations: 384 / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.004663, allocations: 58.94 kB / 0.8816 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.00467, allocations: 192 / 0.8816 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.004679, allocations: 8.359 kB / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.004685, allocations: 384 / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.252e-05/0.004717, allocations: 7.938 kB / 0.8817 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.005013, allocations: 244.3 kB / 0.8819 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/0.005091, allocations: 35.08 kB / 0.8819 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.005111, allocations: 15.69 kB / 0.8819 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.005124, allocations: 0 / 0.8819 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.00515, allocations: 37.39 kB / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.005151, allocations: 0 / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.00531, allocations: 53.56 kB / 0.882 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.005342, allocations: 51.41 kB / 0.8821 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.005427, allocations: 157.9 kB / 0.8822 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.005439, allocations: 25.7 kB / 0.8822 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.005492, allocations: 134.8 kB / 0.8824 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.005513, allocations: 11.95 kB / 0.8824 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.005552, allocations: 15.38 kB / 0.8824 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.005689, allocations: 496.1 kB / 0.8829 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.005706, allocations: 0 / 0.8829 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.005724, allocations: 7.984 kB / 0.8829 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.00576, allocations: 15.88 kB / 0.8829 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005762, allocations: 0 / 0.8829 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.972e-05/0.005842, allocations: 41.64 kB / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.005853, allocations: 4 kB / 0.8829 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.00586, allocations: 4 kB / 0.8829 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.00587, allocations: 3.938 kB / 0.8829 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.005947, allocations: 7.984 kB / 0.883 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.005951, allocations: 0 / 0.883 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.005985, allocations: 7.938 kB / 0.883 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.00599, allocations: 4.281 kB / 0.883 GB, free: 2.207 MB / 0.8386 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 7.517e-05/0.006065, allocations: 160.6 kB / 0.8831 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.006091, allocations: 3.953 kB / 0.8831 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.006117, allocations: 7.609 kB / 0.8831 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.00612, allocations: 3.938 kB / 0.8831 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.006124, allocations: 8 kB / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006128, allocations: 0 / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.006261, allocations: 97.27 kB / 0.8832 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.006263, allocations: 3.984 kB / 0.8832 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.006315, allocations: 4 kB / 0.8832 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.006318, allocations: 8 kB / 0.8833 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.006323, allocations: 3.938 kB / 0.8833 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006325, allocations: 0 / 0.8833 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006326, allocations: 3.938 kB / 0.8833 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.006461, allocations: 187.9 kB / 0.8834 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.006471, allocations: 7.953 kB / 0.8834 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.006482, allocations: 0 / 0.8834 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.006554, allocations: 7.984 kB / 0.8835 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.006582, allocations: 0 / 0.8835 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.006587, allocations: 3.938 kB / 0.8835 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.006632, allocations: 131.2 kB / 0.8836 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.006632, allocations: 0 / 0.8836 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002455/0.006878, allocations: 8 kB / 0.8836 GB, free: 1.516 MB / 0.8386 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 8.294e-05/0.006961, allocations: 95.23 kB / 0.8837 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.831e-05/0.007049, allocations: 23.62 kB / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007051, allocations: 0 / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.647e-05/0.007077, allocations: 11.69 kB / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.007342, allocations: 9.359 kB / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.007614, allocations: 122.5 kB / 0.8838 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.271e-05/0.007657, allocations: 63.28 kB / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.007685, allocations: 0 / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.007752, allocations: 70.2 kB / 0.884 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of SimCode: time 8.62e-07/0.007753, allocations: 0 / 0.884 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of Templates: time 0.003236/0.01099, allocations: 0.7356 MB / 0.8847 GB, free: 336 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.506541728973389]