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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006894/0.006894, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001736, allocations: 196.9 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 64.12 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9051/0.9067, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003461/0.9102, allocations: 1.437 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003742/0.9106, allocations: 95.75 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.9106, allocations: 4 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.9107, allocations: 3.938 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.546e-05/0.9108, allocations: 7.922 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.911, allocations: 23.91 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.856e-05/0.9111, allocations: 19.98 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.9113, allocations: 7.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.9113, allocations: 7.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.9114, allocations: 11.98 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.9114, allocations: 8 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.9115, allocations: 15.98 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.9115, allocations: 7.938 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.9115, allocations: 19.91 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.9117, allocations: 23.91 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9117, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9117, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.9117, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 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.000527/0.9122, allocations: 345.7 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.9123, allocations: 12.03 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.9124, allocations: 38.73 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/0.9126, allocations: 12.92 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.9127, allocations: 172.2 kB / 1.209 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.9128, allocations: 384 / 1.209 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.9128, allocations: 384 / 1.209 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.913, allocations: 62.16 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.913, allocations: 3.938 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.913, allocations: 4 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.913, allocations: 0 / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.9132, allocations: 47.95 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.9137, allocations: 261 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.9139, allocations: 58.48 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.914, allocations: 28.89 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.9141, allocations: 3.938 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.9141, allocations: 34.56 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.9141, allocations: 0 / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004411/0.9146, allocations: 101.6 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.9146, allocations: 51.41 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.709e-05/0.9147, allocations: 105.8 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.9147, allocations: 25.7 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.9148, allocations: 88.14 kB / 1.21 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.9148, allocations: 3.906 kB / 1.21 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.9149, allocations: 17.84 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.915, allocations: 318.8 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.9151, allocations: 15.98 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.006e-05/0.9152, allocations: 35.78 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.9155, allocations: 57.12 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.9155, allocations: 3.938 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002359/0.9157, allocations: 85.56 kB / 1.211 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.9157, allocations: 4 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.9157, allocations: 3.984 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.9158, allocations: 0 / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.9159, allocations: 8 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.9159, allocations: 8.016 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.916, allocations: 4 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.916, allocations: 4 kB / 1.211 GB, free: 9.641 MB / 0.9356 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 0.0001205/0.9161, allocations: 121.7 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.9161, allocations: 0 / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.9162, allocations: 11.52 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9162, allocations: 0 / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.9162, allocations: 0 / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.9162, allocations: 0 / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.9164, allocations: 177.6 kB / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9164, allocations: 0 / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.9165, allocations: 11.98 kB / 1.211 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.9165, allocations: 0 / 1.211 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.9165, allocations: 0 / 1.211 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9165, allocations: 0 / 1.211 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9165, allocations: 0 / 1.211 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.9169, allocations: 179.4 kB / 1.211 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.9169, allocations: 81.02 kB / 1.211 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.9169, allocations: 0 / 1.211 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.917, allocations: 11.98 kB / 1.211 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.9171, allocations: 3.938 kB / 1.211 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.9171, allocations: 0 / 1.211 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.9172, allocations: 87.27 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9172, allocations: 4.031 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002248/0.9174, allocations: 8 kB / 1.212 GB, free: 8.855 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.0006762/0.9181, allocations: 0.7085 MB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.9184, allocations: 51.89 kB / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9184, allocations: 0 / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.9185, allocations: 31.91 kB / 1.212 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.9188, allocations: 6.031 kB / 1.212 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.9193, allocations: 167 kB / 1.212 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.9196, allocations: 0.6729 MB / 1.213 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.137e-05/0.9196, allocations: 3.984 kB / 1.213 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.9197, allocations: 11.44 kB / 1.213 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.9197, allocations: 0 / 1.213 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.9381, allocations: 1.478 MB / 1.215 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.586, allocations: 4 kB / 1.215 GB, free: 5.723 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches