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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001178/0.001178, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001201/0.001201, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.214/1.214, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.036/2.036, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 65.12 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2293, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002842/0.2322, allocations: 1.44 MB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002867/0.2325, allocations: 86.77 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.2326, allocations: 4 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.2326, allocations: 3.938 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.2327, allocations: 7.922 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.2329, allocations: 15.98 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.233, allocations: 23.92 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2331, allocations: 4 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.2331, allocations: 15.88 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.966e-05/0.2332, allocations: 19.91 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.2332, allocations: 0 / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.96e-05/0.2332, allocations: 19.98 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.2333, allocations: 8 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.2333, allocations: 11.92 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.2334, allocations: 27.91 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2334, allocations: 4 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2334, allocations: 0 / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.2334, allocations: 0 / 0.9528 GB, free: 6.352 MB / 0.7325 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.0004039/0.2338, allocations: 339.4 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2339, allocations: 12.03 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.234, allocations: 24.81 kB / 0.9531 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2342, allocations: 164.3 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2342, allocations: 384 / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.2342, allocations: 4.375 kB / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2344, allocations: 58.22 kB / 0.9533 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2344, allocations: 4.188 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2344, allocations: 3.938 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2344, allocations: 0 / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.2346, allocations: 47.95 kB / 0.9534 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.235, allocations: 272.9 kB / 0.9537 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.2351, allocations: 50.48 kB / 0.9537 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.2352, allocations: 32.89 kB / 0.9537 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2353, allocations: 4 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.2353, allocations: 30.56 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.304e-06/0.2353, allocations: 0 / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003584/0.2356, allocations: 117.5 kB / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2357, allocations: 51.41 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.2358, allocations: 105.8 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.2358, allocations: 25.7 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.2358, allocations: 84.14 kB / 0.9541 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.2358, allocations: 7.844 kB / 0.9541 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.2359, allocations: 13.72 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.236, allocations: 314.8 kB / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/0.2361, allocations: 28 kB / 0.9545 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.453e-05/0.2362, allocations: 27.97 kB / 0.9545 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.2363, allocations: 44.81 kB / 0.9546 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2364, allocations: 0 / 0.9546 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.2366, allocations: 89.59 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2366, allocations: 4 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2366, allocations: 0 / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2366, allocations: 11.92 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.2367, allocations: 4 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2367, allocations: 0 / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.2368, allocations: 15.97 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2368, allocations: 4.031 kB / 0.9547 GB, free: 4.168 MB / 0.7325 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.461e-05/0.2369, allocations: 119.7 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.2369, allocations: 7.906 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.2369, allocations: 3.531 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2369, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2369, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2369, allocations: 0 / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.2371, allocations: 169.6 kB / 0.955 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2371, allocations: 0 / 0.955 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.2372, allocations: 15.98 kB / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2372, allocations: 0 / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2372, allocations: 0 / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2372, allocations: 0 / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2372, allocations: 256 / 0.955 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.2374, allocations: 183.4 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.2375, allocations: 81.11 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.2375, allocations: 4 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.2376, allocations: 11.92 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.2376, allocations: 4 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2376, allocations: 0 / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.2377, allocations: 87.27 kB / 0.9553 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2377, allocations: 0 / 0.9553 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002008/0.2379, allocations: 4 kB / 0.9553 GB, free: 3.395 MB / 0.7325 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 (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 Backend phase and start with SimCode phase: time 0.0001048/0.238, allocations: 103.3 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.2382, allocations: 47.89 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2382, allocations: 0 / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/0.2383, allocations: 27.97 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.2386, allocations: 12.06 kB / 0.9555 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.2388, allocations: 125.5 kB / 0.9556 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.2391, allocations: 0.6805 MB / 0.9563 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.534e-05/0.2391, allocations: 0 / 0.9563 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.2391, allocations: 7.438 kB / 0.9563 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2391, allocations: 0 / 0.9563 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of Templates: time 0.002216/0.2414, allocations: 0.5706 MB / 0.9569 GB, free: 1.77 MB / 0.7325 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 -s cvode -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