Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008094/0.0008094, 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.0008628/0.0008628, 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.8729/0.8729, allocations: 177.2 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.675/1.675, allocations: 359 MB / 0.6037 GB, free: 11.08 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.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.769e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00202/0.002038, allocations: 1.459 MB / 0.9519 GB, free: 2 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000232/0.00227, allocations: 91.81 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.002303, allocations: 0 / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.00233, allocations: 3.938 kB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.002367, allocations: 3.938 kB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.002559, allocations: 23.91 kB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.002622, allocations: 23.92 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.002707, allocations: 7.938 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.002758, allocations: 15.92 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.405e-05/0.002792, allocations: 11.98 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.002807, allocations: 4 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-05/0.00286, allocations: 11.98 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.002873, allocations: 8 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.002889, allocations: 3.984 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.002996, allocations: 43.83 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002998, allocations: 0 / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.21e-07/0.002999, allocations: 0 / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003002, allocations: 0 / 0.9522 GB, free: 1.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003303/0.003333, allocations: 272.1 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.003369, allocations: 8.031 kB / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.003397, allocations: 34.75 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.003515, allocations: 16.91 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.003591, allocations: 109.8 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.00361, allocations: 4.312 kB / 0.9526 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.003618, allocations: 384 / 0.9526 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.003743, allocations: 54.23 kB / 0.9526 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003749, allocations: 192 / 0.9526 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.00376, allocations: 8.359 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.003766, allocations: 4.125 kB / 0.9527 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.00388, allocations: 47.95 kB / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.004188, allocations: 228 kB / 0.9529 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.004289, allocations: 54.47 kB / 0.953 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.004345, allocations: 28.91 kB / 0.953 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.00436, allocations: 4 kB / 0.953 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.004378, allocations: 38.5 kB / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.004379, allocations: 0 / 0.953 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002491/0.004628, allocations: 101.6 kB / 0.9531 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.004655, allocations: 55.34 kB / 0.9532 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.333e-05/0.004709, allocations: 105.8 kB / 0.9533 GB, free: 448 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.004719, allocations: 29.64 kB / 0.9533 GB, free: 412 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.335e-05/0.004752, allocations: 88.27 kB / 0.9534 GB, free: 320 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.004769, allocations: 15.88 kB / 0.9534 GB, free: 304 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.004795, allocations: 9.719 kB / 0.9534 GB, free: 288 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.004873, allocations: 314.8 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.371e-05/0.004927, allocations: 28.22 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.004985, allocations: 19.98 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.005085, allocations: 56.88 kB / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.005086, allocations: 0 / 0.9538 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001266/0.005213, allocations: 81.58 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.005225, allocations: 11.94 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.005229, allocations: 3.938 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.005239, allocations: 0 / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.005303, allocations: 12.02 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.005307, allocations: 4 kB / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.005337, allocations: 11.94 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.005342, allocations: 0 / 0.954 GB, free: 15.73 MB / 0.9167 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 5.051e-05/0.005392, allocations: 113.8 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.005405, allocations: 3.938 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.005429, allocations: 11.61 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.005431, allocations: 0 / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.005435, allocations: 3.984 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005438, allocations: 0 / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.005542, allocations: 140.7 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005542, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.005574, allocations: 11.98 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.005576, allocations: 3.938 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.005582, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.005583, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.005583, allocations: 0 / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.00573, allocations: 171.5 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.005739, allocations: 19.91 kB / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-06/0.005748, allocations: 0 / 0.9544 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/0.005792, allocations: 7.984 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.005821, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.005824, allocations: 4 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.617e-05/0.00585, allocations: 87.22 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00585, allocations: 0 / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000164/0.006014, allocations: 4 kB / 0.9545 GB, free: 15.09 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 (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.000321/0.006335, allocations: 0.7046 MB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.006481, allocations: 55.88 kB / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006482, allocations: 0 / 0.9553 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.006534, allocations: 23.98 kB / 0.9553 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.006733, allocations: 16.33 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.007065, allocations: 146.4 kB / 0.9554 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.78e-05/0.007103, allocations: 59.34 kB / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.124e-05/0.007124, allocations: 4 kB / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.00716, allocations: 12.5 kB / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of SimCode: time 3.8e-07/0.00716, allocations: 0 / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.02224, allocations: 2.192 MB / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.783/6.805, allocations: 4.641 kB / 0.9576 GB, free: 11.92 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.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.728080942295492]