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.001471/0.001471, allocations: 110.5 kB / 16.37 MB, free: 6.262 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.001679/0.001679, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.609/2.609, allocations: 442.6 MB / 0.7166 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 64.94 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002507/0.3174, allocations: 1.462 MB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002404/0.3176, allocations: 84.59 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.3177, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.3177, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.64e-05/0.3178, allocations: 11.92 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.318, allocations: 23.97 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.318, allocations: 15.94 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.811e-05/0.3181, allocations: 11.98 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.3182, allocations: 7.938 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.939e-05/0.3182, allocations: 15.92 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.3182, allocations: 0 / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.3183, allocations: 19.98 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.3183, allocations: 4 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.3184, allocations: 15.86 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.3185, allocations: 31.89 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3185, allocations: 4 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3185, allocations: 0 / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3185, allocations: 0 / 1.028 GB, free: 308 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.0004223/0.3189, allocations: 347.4 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.319, allocations: 8.031 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.3191, allocations: 12.92 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.3192, allocations: 168.4 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.3193, allocations: 4.312 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.3193, allocations: 8.375 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3195, allocations: 50.23 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3195, allocations: 4.188 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3195, allocations: 3.938 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3195, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.3197, allocations: 51.88 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.3201, allocations: 264.9 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3203, allocations: 58.47 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3204, allocations: 24.91 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.3205, allocations: 11.92 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.3205, allocations: 34.56 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3205, allocations: 0 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000417/0.3209, allocations: 105.6 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.321, allocations: 55.39 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.3211, allocations: 110 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3211, allocations: 25.7 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.3211, allocations: 84.12 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3212, allocations: 11.84 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.3212, allocations: 13.72 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.3213, allocations: 310.8 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3214, allocations: 23.97 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3215, allocations: 27.98 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.3217, allocations: 56.73 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3218, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002716/0.322, allocations: 81.59 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3221, allocations: 8.094 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3221, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3221, allocations: 4 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3222, allocations: 7.984 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.3222, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.3223, allocations: 11.98 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3223, allocations: 3.984 kB / 1.03 GB, free: 14.12 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.617e-05/0.3224, allocations: 109.8 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.3224, allocations: 15.84 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.3224, allocations: 11.52 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3224, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3224, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.3225, allocations: 77.11 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.3225, allocations: 4 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.3226, allocations: 7.984 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.3226, allocations: 3.938 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003239/0.323, allocations: 176.8 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003036/0.3233, allocations: 246.8 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001184/0.3234, allocations: 32.03 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.3235, allocations: 83.22 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of Backend: time 3.21e-07/0.3235, allocations: 3.938 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005048/0.324, allocations: 102.4 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0005068/0.3245, allocations: 0.5493 MB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.003016/0.3275, allocations: 0.9736 MB / 1.033 GB, free: 11.63 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 -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