Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TExact",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 110.6 kB / 16.42 MB, free: 6.508 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.001121/0.001121, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 469.4 MB / 0.7428 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 67.89 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 159.1 MB / 1.221 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001962/1.103, allocations: 0.5965 MB / 1.222 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003425/1.103, allocations: 87.73 kB / 1.222 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/1.103, allocations: 0 / 1.222 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/1.103, allocations: 0 / 1.222 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/1.103, allocations: 0 / 1.222 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/1.103, allocations: 19.92 kB / 1.222 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.234e-05/1.104, allocations: 11.92 kB / 1.222 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/1.104, allocations: 3.984 kB / 1.222 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/1.104, allocations: 8 kB / 1.222 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/1.104, allocations: 4 kB / 1.222 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/1.104, allocations: 0 / 1.222 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/1.104, allocations: 15.98 kB / 1.222 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/1.104, allocations: 0 / 1.222 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/1.104, allocations: 7.938 kB / 1.222 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/1.104, allocations: 11.97 kB / 1.222 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.104, allocations: 0 / 1.222 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/1.104, allocations: 0 / 1.222 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.047e-06/1.104, allocations: 0 / 1.222 GB, free: 1.695 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.0003967/1.104, allocations: 327.6 kB / 1.222 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.104, allocations: 12.56 kB / 1.222 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/1.105, allocations: 8.922 kB / 1.222 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/1.105, allocations: 168.3 kB / 1.222 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/1.105, allocations: 4.375 kB / 1.222 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/1.105, allocations: 384 / 1.222 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/1.105, allocations: 38.25 kB / 1.222 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/1.105, allocations: 192 / 1.222 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.105, allocations: 3.938 kB / 1.222 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.105, allocations: 8 kB / 1.222 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.856e-05/1.105, allocations: 11.98 kB / 1.222 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/1.105, allocations: 153.7 kB / 1.222 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/1.105, allocations: 42.5 kB / 1.222 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/1.105, allocations: 12.91 kB / 1.222 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/1.105, allocations: 4 kB / 1.222 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/1.106, allocations: 30.56 kB / 1.222 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/1.106, allocations: 0 / 1.222 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002409/1.106, allocations: 65.66 kB / 1.223 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.106, allocations: 59.28 kB / 1.223 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/1.106, allocations: 89.86 kB / 1.223 GB, free: 496 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/1.106, allocations: 25.7 kB / 1.223 GB, free: 464 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/1.106, allocations: 88.14 kB / 1.223 GB, free: 372 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/1.106, allocations: 5.734 kB / 1.223 GB, free: 368 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/1.106, allocations: 17.72 kB / 1.223 GB, free: 344 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.106, allocations: 310.8 kB / 1.223 GB, free: 24 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.853e-05/1.106, allocations: 7.984 kB / 1.223 GB, free: 16 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/1.106, allocations: 12.03 kB / 1.223 GB, free: 4 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/1.106, allocations: 20.84 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.106, allocations: 4 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000118/1.106, allocations: 53.67 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.107, allocations: 8 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.107, allocations: 0 / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.107, allocations: 7.875 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/1.107, allocations: 39.94 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/1.108, allocations: 1.4 MB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/1.109, allocations: 0 / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/1.109, allocations: 0 / 1.225 GB, free: 14.32 MB / 0.9512 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.262e-05/1.109, allocations: 121.8 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/1.109, allocations: 4 kB / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.791e-05/1.109, allocations: 11.48 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.109, allocations: 0 / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.109, allocations: 0 / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/1.109, allocations: 77.11 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/1.109, allocations: 3.938 kB / 1.225 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.328e-05/1.109, allocations: 7.938 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/1.109, allocations: 0 / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005101/1.109, allocations: 177.7 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002413/1.11, allocations: 238.8 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.758e-05/1.11, allocations: 12.02 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.094e-05/1.11, allocations: 75.28 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of Backend: time 6.81e-07/1.11, allocations: 0 / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007987/1.111, allocations: 134.3 kB / 1.225 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006567/1.111, allocations: 0.5566 MB / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of Templates: time 0.003128/1.114, allocations: 0.626 MB / 1.227 GB, free: 12.18 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches