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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 114.4 kB / 16.37 MB, free: 6 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.001146/0.001146, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.195/2.195, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 67.7 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2517, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002213/0.2539, allocations: 1.451 MB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002055/0.2541, allocations: 88.59 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.2541, allocations: 0 / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.2542, allocations: 3.984 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.2542, allocations: 7.938 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.2544, allocations: 15.97 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.2545, allocations: 31.86 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.2545, allocations: 0 / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.2546, allocations: 8 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.335e-05/0.2546, allocations: 15.92 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2546, allocations: 4 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.2547, allocations: 11.98 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.2547, allocations: 4 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.2547, allocations: 15.92 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.17e-05/0.2548, allocations: 35.89 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2548, allocations: 0 / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2548, allocations: 3.938 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.2548, allocations: 3.938 kB / 1.028 GB, free: 340 kB / 0.795 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.0003707/0.2552, allocations: 347.4 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.2552, allocations: 12.02 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.2554, allocations: 16.91 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.855e-05/0.2555, allocations: 164.4 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2555, allocations: 8.312 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.2555, allocations: 384 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.2557, allocations: 58.22 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.2557, allocations: 192 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.2557, allocations: 7.938 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2557, allocations: 0 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.2559, allocations: 43.95 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.2562, allocations: 268.8 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.2564, allocations: 58.48 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.048e-05/0.2565, allocations: 28.89 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.2565, allocations: 4 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2565, allocations: 30.56 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2565, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003432/0.2569, allocations: 105.6 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.2569, allocations: 51.41 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.257, allocations: 110 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.257, allocations: 25.7 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.257, allocations: 88.14 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.2571, allocations: 7.844 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.2571, allocations: 9.719 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.2572, allocations: 322.8 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.447e-05/0.2573, allocations: 19.98 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.2574, allocations: 23.97 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.2575, allocations: 52.81 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2575, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002049/0.2578, allocations: 89.59 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.2578, allocations: 4 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2578, allocations: 3.984 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.2578, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.765e-05/0.2579, allocations: 8.25 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2579, allocations: 3.984 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.442e-05/0.258, allocations: 8 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.258, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 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 6.711e-05/0.258, allocations: 129.7 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.2581, allocations: 3.906 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.2581, allocations: 7.531 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2581, allocations: 7.875 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2581, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.2581, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.2583, allocations: 173.6 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2583, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.2583, allocations: 11.98 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2583, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.2584, allocations: 4 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2584, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2584, allocations: 3.938 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.2586, allocations: 175.4 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.2586, allocations: 77.11 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.2587, allocations: 32 / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.328e-05/0.2587, allocations: 15.98 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.554e-05/0.2588, allocations: 4 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.2588, allocations: 0 / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.2588, allocations: 83.27 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2588, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002017/0.259, allocations: 8 kB / 1.031 GB, free: 13.38 MB / 0.8106 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.199e-05/0.2591, allocations: 99.23 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.2593, allocations: 55.89 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.2594, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.2595, allocations: 27.97 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.2597, allocations: 7.938 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002666/0.2599, allocations: 121.6 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.2602, allocations: 0.6729 MB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.607e-05/0.2602, allocations: 4 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.2602, allocations: 11.42 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2602, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.002122/0.2624, allocations: 0.576 MB / 1.032 GB, free: 11.75 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > 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