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.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.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.001572/0.001572, allocations: 109 kB / 16.37 MB, free: 6.477 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.001821/0.001821, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.204/1.204, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.228/2.228, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 58.97 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2529, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001602/0.2546, allocations: 0.5977 MB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.2549, allocations: 99.66 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.484e-05/0.2549, allocations: 4 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.2549, allocations: 0 / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/0.255, allocations: 0 / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.2552, allocations: 15.92 kB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.558e-05/0.2552, allocations: 11.98 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.2553, allocations: 0 / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.93e-05/0.2553, allocations: 11.92 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.2554, allocations: 0 / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2554, allocations: 4 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.294e-05/0.2554, allocations: 15.92 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.2555, allocations: 4 kB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.2555, allocations: 4 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.641e-05/0.2556, allocations: 19.92 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2556, allocations: 0 / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2556, allocations: 0 / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.2556, allocations: 3.984 kB / 1.028 GB, free: 1.297 MB / 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.000296/0.2559, allocations: 315.6 kB / 1.028 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2559, allocations: 8.031 kB / 1.028 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.2561, allocations: 8.922 kB / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.513e-05/0.2562, allocations: 174.8 kB / 1.028 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.2562, allocations: 4.312 kB / 1.028 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.2562, allocations: 384 / 1.028 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.2563, allocations: 38.25 kB / 1.028 GB, free: 0.668 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.2563, allocations: 4.188 kB / 1.028 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.2563, allocations: 3.938 kB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2563, allocations: 0 / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.2564, allocations: 11.98 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.2566, allocations: 157.7 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.2567, allocations: 42.5 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.2567, allocations: 16.91 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.2568, allocations: 0 / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2568, allocations: 30.56 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2568, allocations: 8 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0001716/0.257, allocations: 53.61 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.257, allocations: 55.41 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.909e-05/0.2571, allocations: 89.86 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.2571, allocations: 25.7 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.496e-05/0.2571, allocations: 84.22 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.2571, allocations: 7.844 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.2572, allocations: 17.66 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.2573, allocations: 322.8 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.2573, allocations: 4 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.2573, allocations: 7.984 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.465e-05/0.2574, allocations: 25.06 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2574, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.574e-05/0.2575, allocations: 49.67 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2575, allocations: 8 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2576, allocations: 4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2576, allocations: 3.938 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.2579, allocations: 43.88 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.2591, allocations: 1.404 MB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.2591, allocations: 3.938 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.2591, allocations: 0 / 1.03 GB, free: 13.93 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 (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.828e-05/0.2592, allocations: 123.2 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.2592, allocations: 11.83 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.111e-05/0.2592, allocations: 3.562 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.2592, allocations: 4 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-07/0.2592, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2592, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.088e-05/0.2593, allocations: 157.6 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2593, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.2597, allocations: 47.94 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2597, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2597, allocations: 4 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.2608, allocations: 1.404 MB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2608, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.2609, allocations: 81.23 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.2609, allocations: 77.11 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.261, allocations: 3.938 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.405e-05/0.261, allocations: 0 / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.261, allocations: 7.984 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.261, allocations: 0 / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.635e-05/0.261, allocations: 75.28 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.261, allocations: 4 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001784/0.2612, allocations: 4 kB / 1.032 GB, free: 11.7 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 (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.000112/0.2613, allocations: 107.2 kB / 1.032 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.2617, allocations: 59.91 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2617, allocations: 0 / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.262, allocations: 39.91 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.2621, allocations: 3.984 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/0.2623, allocations: 97.06 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.2625, allocations: 0.6768 MB / 1.033 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.2626, allocations: 0 / 1.033 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.2626, allocations: 11.44 kB / 1.033 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.2626, allocations: 3.938 kB / 1.033 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.002027/0.2646, allocations: 412.4 kB / 1.034 GB, free: 10.24 MB / 0.8106 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 -s cvode -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