Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_9_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.001793/0.001793, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001998/0.001998, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.511/1.511, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9207/0.922, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002453/0.9245, allocations: 1.426 MB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002955/0.9248, allocations: 105.1 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.9249, allocations: 1.125 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.9249, allocations: 0.6094 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.925, allocations: 5 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.9252, allocations: 17.05 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.041e-05/0.9253, allocations: 24.89 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.871e-05/0.9254, allocations: 13.03 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.9255, allocations: 13.73 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.9255, allocations: 14.84 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.9256, allocations: 5.375 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.9256, allocations: 16.94 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.9257, allocations: 2.031 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.9257, allocations: 11.45 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.9258, allocations: 30.36 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9258, allocations: 1.125 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9258, allocations: 0 / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.9258, allocations: 0 / 1.09 GB, free: 4.387 MB / 0.8575 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.0004085/0.9263, allocations: 346.5 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.9263, allocations: 13.73 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.9265, allocations: 12.75 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.9266, allocations: 172.4 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.9266, allocations: 384 / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.9266, allocations: 9.625 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.9268, allocations: 56.25 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9268, allocations: 192 / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.9269, allocations: 4.844 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9269, allocations: 8.5 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.9271, allocations: 48.12 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.9275, allocations: 257.4 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.9277, allocations: 55.7 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.9278, allocations: 29.62 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.9278, allocations: 1.094 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.9278, allocations: 39.06 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.9278, allocations: 1.062 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004519/0.9283, allocations: 101.2 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.9283, allocations: 51.41 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.9284, allocations: 104.2 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.9284, allocations: 29.7 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.9284, allocations: 82.91 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.9285, allocations: 7.047 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.9285, allocations: 15.83 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.9286, allocations: 317.9 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.9287, allocations: 28.28 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.9288, allocations: 23.62 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.929, allocations: 55.23 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.929, allocations: 4.062 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002569/0.9293, allocations: 78.8 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.9293, allocations: 4.562 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.9293, allocations: 1.094 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.9293, allocations: 0.6094 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.9295, allocations: 10.7 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.9295, allocations: 1.438 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.9295, allocations: 15.88 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.9296, allocations: 1.406 kB / 1.092 GB, free: 2.641 MB / 0.8575 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.023e-05/0.9296, allocations: 107.7 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.9296, allocations: 9.906 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.9297, allocations: 6.031 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.9297, allocations: 4 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9297, allocations: 9.156 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.9297, allocations: 81.91 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.9297, allocations: 6.172 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.9299, allocations: 8.156 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.9299, allocations: 2.656 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003013/0.9302, allocations: 163 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002761/0.9305, allocations: 253.3 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001137/0.9306, allocations: 24.75 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.68e-05/0.9306, allocations: 86.98 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of Backend: time 2.81e-07/0.9306, allocations: 0 / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.9312, allocations: 111.4 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000378/0.9316, allocations: 0.5552 MB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of Templates: time 0.003849/0.9354, allocations: 0.9806 MB / 1.095 GB, free: 1.234 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches