Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001106/0.001106, allocations: 106.4 kB / 16.45 MB, free: 6.035 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.001239/0.001239, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.89 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8059, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002841/0.8088, allocations: 1.45 MB / 1.214 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.8091, allocations: 93.2 kB / 1.214 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.8091, allocations: 0.9688 kB / 1.214 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.8091, allocations: 0 / 1.214 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.8092, allocations: 9.047 kB / 1.214 GB, free: 2.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.8094, allocations: 20.05 kB / 1.214 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.135e-05/0.8094, allocations: 22.52 kB / 1.214 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.8095, allocations: 6 kB / 1.214 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.842e-05/0.8096, allocations: 15.3 kB / 1.214 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.8096, allocations: 3.344 kB / 1.214 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.8096, allocations: 6.219 kB / 1.214 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.998e-05/0.8097, allocations: 17.77 kB / 1.215 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.8097, allocations: 11.92 kB / 1.215 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.8097, allocations: 18.83 kB / 1.215 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.8099, allocations: 30.34 kB / 1.215 GB, free: 2.555 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.8099, allocations: 0 / 1.215 GB, free: 2.555 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8099, allocations: 0.75 kB / 1.215 GB, free: 2.555 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.8099, allocations: 4 kB / 1.215 GB, free: 2.551 MB / 0.92 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.0004799/0.8104, allocations: 350.3 kB / 1.215 GB, free: 2.172 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8104, allocations: 9.969 kB / 1.215 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.8104, allocations: 31.91 kB / 1.215 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.8106, allocations: 12.58 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.8107, allocations: 165.6 kB / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.8107, allocations: 5.641 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.8107, allocations: 1.719 kB / 1.215 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.8109, allocations: 61.34 kB / 1.215 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.811, allocations: 3.938 kB / 1.215 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.811, allocations: 9.094 kB / 1.215 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.811, allocations: 0 / 1.215 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.8112, allocations: 42.11 kB / 1.215 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.8116, allocations: 271.4 kB / 1.215 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.8117, allocations: 54.89 kB / 1.216 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.8118, allocations: 30.2 kB / 1.216 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.8119, allocations: 0 / 1.216 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.8119, allocations: 43.5 kB / 1.216 GB, free: 1.434 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.8119, allocations: 0 / 1.216 GB, free: 1.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004046/0.8123, allocations: 100.2 kB / 1.216 GB, free: 1.371 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.8123, allocations: 52.47 kB / 1.216 GB, free: 1.309 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.8124, allocations: 105.2 kB / 1.216 GB, free: 1.203 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.8124, allocations: 30.95 kB / 1.216 GB, free: 1.168 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.8125, allocations: 85.08 kB / 1.216 GB, free: 1.082 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.8125, allocations: 5.109 kB / 1.216 GB, free: 1.078 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.8126, allocations: 15.7 kB / 1.216 GB, free: 1.059 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8127, allocations: 316 kB / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.8128, allocations: 17.36 kB / 1.216 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.369e-05/0.8129, allocations: 33.12 kB / 1.216 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.8131, allocations: 54.97 kB / 1.216 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.8131, allocations: 3.938 kB / 1.216 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002272/0.8133, allocations: 80.23 kB / 1.216 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.8133, allocations: 5.281 kB / 1.216 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.8133, allocations: 4 kB / 1.216 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.8133, allocations: 0.8125 kB / 1.216 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.8135, allocations: 11.14 kB / 1.217 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.8135, allocations: 1.125 kB / 1.217 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.8135, allocations: 12.31 kB / 1.217 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.8135, allocations: 1.281 kB / 1.217 GB, free: 0.6133 MB / 0.92 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.637e-05/0.8136, allocations: 114.9 kB / 1.217 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.8136, allocations: 6.438 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.8137, allocations: 8.688 kB / 1.217 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8137, allocations: 0 / 1.217 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.8137, allocations: 0 / 1.217 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8137, allocations: 1.25 kB / 1.217 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.8139, allocations: 171.5 kB / 1.217 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8139, allocations: 3.984 kB / 1.217 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.8139, allocations: 8.219 kB / 1.217 GB, free: 268 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.814, allocations: 3.984 kB / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.814, allocations: 1.094 kB / 1.217 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.814, allocations: 4 kB / 1.217 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.814, allocations: 0 / 1.217 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.8142, allocations: 171.4 kB / 1.217 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.8143, allocations: 86.36 kB / 1.217 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.8143, allocations: 1.125 kB / 1.217 GB, free: 0 / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.8144, allocations: 12.14 kB / 1.217 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.8145, allocations: 5.859 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.8145, allocations: 5.094 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.8145, allocations: 84.28 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8145, allocations: 3.938 kB / 1.217 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002115/0.8147, allocations: 5.125 kB / 1.217 GB, free: 15.9 MB / 0.9356 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.0006336/0.8154, allocations: 0.7122 MB / 1.218 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.8156, allocations: 52.91 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8156, allocations: 1.062 kB / 1.218 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.8157, allocations: 35.2 kB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.8161, allocations: 4.781 kB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.8166, allocations: 150.7 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.8169, allocations: 0.6779 MB / 1.219 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.817, allocations: 5.438 kB / 1.219 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.817, allocations: 8.75 kB / 1.219 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.817, allocations: 0 / 1.219 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.852, allocations: 1.454 MB / 1.22 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.964, allocations: 10.92 kB / 1.22 GB, free: 13.49 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.047696098219603]