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.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.001284/0.001284, allocations: 103.1 kB / 16.45 MB, free: 6.445 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.001315/0.001315, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 3.746 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.827/2.827, allocations: 476.7 MB / 0.7611 GB, free: 15.73 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: "" <> 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 0.001975/0.001975, allocations: 63.91 kB / 1.104 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9339/0.9359, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002564/0.9385, allocations: 1.454 MB / 1.27 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002725/0.9387, allocations: 89.84 kB / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.9388, allocations: 0.8438 kB / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.9388, allocations: 0.7031 kB / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.036e-05/0.9388, allocations: 4.812 kB / 1.27 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.9391, allocations: 21.12 kB / 1.27 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.9391, allocations: 28.12 kB / 1.27 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.9392, allocations: 7.609 kB / 1.27 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.9393, allocations: 12.86 kB / 1.27 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.822e-05/0.9393, allocations: 7.234 kB / 1.27 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.9393, allocations: 2.438 kB / 1.27 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.378e-05/0.9394, allocations: 16.66 kB / 1.27 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.9394, allocations: 9.844 kB / 1.27 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.9394, allocations: 11.56 kB / 1.27 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.9396, allocations: 32.75 kB / 1.27 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.9396, allocations: 11.94 kB / 1.27 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9396, allocations: 0 / 1.27 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.9396, allocations: 1.75 kB / 1.27 GB, free: 6.598 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.0003899/0.94, allocations: 346 kB / 1.271 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.94, allocations: 9.344 kB / 1.271 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.94, allocations: 32.16 kB / 1.271 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.9402, allocations: 16.8 kB / 1.271 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.581e-05/0.9403, allocations: 171.3 kB / 1.271 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.9403, allocations: 9.75 kB / 1.271 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.9403, allocations: 1.219 kB / 1.271 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.9405, allocations: 55.45 kB / 1.271 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.9405, allocations: 5.094 kB / 1.271 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.9405, allocations: 4.812 kB / 1.271 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.9405, allocations: 0 / 1.271 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000215/0.9407, allocations: 52.06 kB / 1.271 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.941, allocations: 258.1 kB / 1.271 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.9412, allocations: 54.27 kB / 1.271 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.9413, allocations: 29.3 kB / 1.271 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.9413, allocations: 5.031 kB / 1.271 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.9413, allocations: 31.88 kB / 1.271 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9413, allocations: 0 / 1.271 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004298/0.9418, allocations: 104.3 kB / 1.272 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.9418, allocations: 52.28 kB / 1.272 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.9419, allocations: 108.5 kB / 1.272 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.9419, allocations: 27.08 kB / 1.272 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/0.9419, allocations: 85.45 kB / 1.272 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.9419, allocations: 6.109 kB / 1.272 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.9419, allocations: 12 kB / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.942, allocations: 321.7 kB / 1.272 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.9421, allocations: 23.92 kB / 1.272 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.9422, allocations: 23.73 kB / 1.272 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.9424, allocations: 55.03 kB / 1.272 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9424, allocations: 4.75 kB / 1.272 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002301/0.9426, allocations: 85.73 kB / 1.272 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9426, allocations: 5.719 kB / 1.272 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9426, allocations: 0.7031 kB / 1.272 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.9426, allocations: 0.6562 kB / 1.272 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.9428, allocations: 11.16 kB / 1.272 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.9428, allocations: 0.75 kB / 1.272 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.9428, allocations: 12.48 kB / 1.272 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.9428, allocations: 0.9688 kB / 1.272 GB, free: 4.805 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 5.121e-05/0.9429, allocations: 120.1 kB / 1.272 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.9429, allocations: 1.562 kB / 1.272 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.9429, allocations: 5.016 kB / 1.272 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.9429, allocations: 1.484 kB / 1.272 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.9429, allocations: 0.75 kB / 1.272 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.9429, allocations: 0 / 1.272 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.9431, allocations: 169.2 kB / 1.273 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9431, allocations: 3.938 kB / 1.273 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.9432, allocations: 15.05 kB / 1.273 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.9432, allocations: 5.719 kB / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.9432, allocations: 0 / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9432, allocations: 0.6875 kB / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.9432, allocations: 0.6562 kB / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.9434, allocations: 173.8 kB / 1.273 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.9434, allocations: 83.02 kB / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.9435, allocations: 5.766 kB / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.9436, allocations: 7.359 kB / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.9436, allocations: 6.344 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.9436, allocations: 0.7812 kB / 1.273 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.9436, allocations: 82.12 kB / 1.273 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9436, allocations: 0.75 kB / 1.273 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002208/0.9438, allocations: 4.656 kB / 1.273 GB, free: 4.141 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.0004098/0.9443, allocations: 0.7174 MB / 1.274 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.9445, allocations: 59.14 kB / 1.274 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9445, allocations: 0 / 1.274 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.9446, allocations: 28.8 kB / 1.274 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.9449, allocations: 5.422 kB / 1.274 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.9453, allocations: 153.8 kB / 1.274 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.9456, allocations: 0.6805 MB / 1.275 GB, free: 18.59 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.9456, allocations: 5.422 kB / 1.275 GB, free: 18.58 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.9456, allocations: 10.25 kB / 1.275 GB, free: 18.57 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/0.9456, allocations: 0 / 1.275 GB, free: 18.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.9701, allocations: 1.463 MB / 1.276 GB, free: 18.19 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/9.154, allocations: 15.86 kB / 1.276 GB, free: 18.18 MB / 1.014 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.417753214016557]