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.001638/0.001638, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001888/0.001888, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001568, allocations: 68.05 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3168, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002116/0.3189, allocations: 0.5778 MB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003242/0.3193, allocations: 103.7 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.3193, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.3193, allocations: 3.938 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.3194, allocations: 4 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3197, allocations: 15.98 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.129e-05/0.3197, allocations: 15.92 kB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.3198, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.3198, allocations: 4 kB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.3199, allocations: 3.984 kB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.3199, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.32, allocations: 15.98 kB / 1.065 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.32, allocations: 7.875 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.32, allocations: 4 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.3201, allocations: 19.97 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3202, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3202, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.3202, allocations: 0 / 1.065 GB, free: 14.25 MB / 0.8419 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.0003624/0.3205, allocations: 323.6 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3206, allocations: 8.625 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.3208, allocations: 8.922 kB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.641e-05/0.3209, allocations: 160.4 kB / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3209, allocations: 384 / 1.065 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3209, allocations: 8.375 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.321, allocations: 42.19 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3211, allocations: 192 / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3211, allocations: 7.922 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3211, allocations: 3.984 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.3212, allocations: 15.92 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.3213, allocations: 149.7 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.3215, allocations: 46.66 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.3216, allocations: 12.86 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3216, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3216, allocations: 30.56 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3216, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002464/0.3219, allocations: 65.55 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.3219, allocations: 51.41 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.296e-05/0.322, allocations: 89.86 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.322, allocations: 25.7 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.322, allocations: 88.14 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.3221, allocations: 12.11 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.3221, allocations: 13.72 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.3222, allocations: 314.8 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.3223, allocations: 11.98 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-05/0.3223, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.3224, allocations: 20.84 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3224, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001382/0.3225, allocations: 53.53 kB / 1.066 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3226, allocations: 7.938 kB / 1.066 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3226, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3226, allocations: 3.938 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.323, allocations: 51.92 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.3243, allocations: 1.401 MB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.3244, allocations: 7.938 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3244, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 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 7.989e-05/0.3245, allocations: 114.3 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.3245, allocations: 7.984 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.454e-05/0.3245, allocations: 3.5 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3245, allocations: 0 / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3245, allocations: 4.062 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3245, allocations: 3.938 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.711e-05/0.3246, allocations: 157.6 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3246, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.325, allocations: 47.92 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.325, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.325, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.3262, allocations: 1.409 MB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3262, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.3263, allocations: 77.19 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.3263, allocations: 85.09 kB / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.3264, allocations: 7.938 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.3264, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.3264, allocations: 0 / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.3264, allocations: 4 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.3265, allocations: 79.28 kB / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3265, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001962/0.3267, allocations: 4 kB / 1.07 GB, free: 8.641 MB / 0.8419 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 (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 Backend phase and start with SimCode phase: time 0.00013/0.3268, allocations: 103.2 kB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004735/0.3273, allocations: 59.92 kB / 1.07 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3273, allocations: 4 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.3277, allocations: 55.86 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.3278, allocations: 5.547 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.3282, allocations: 128.6 kB / 1.07 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.3285, allocations: 0.6729 MB / 1.071 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.3285, allocations: 11.44 kB / 1.071 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3285, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of Templates: time 0.002215/0.3307, allocations: 0.6001 MB / 1.071 GB, free: 6.941 MB / 0.8419 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