Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 103.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 249.9 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 443.5 MB / 0.731 GB, free: 12.71 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=502,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.89 kB / 1.06 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7881, allocations: 160.7 MB / 1.217 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002689/0.7908, allocations: 1.449 MB / 1.218 GB, free: 2.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.7911, allocations: 92.94 kB / 1.218 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.7911, allocations: 1.094 kB / 1.218 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.7912, allocations: 7.922 kB / 1.218 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.308e-05/0.7912, allocations: 3.938 kB / 1.218 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.7914, allocations: 21.86 kB / 1.218 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.775e-05/0.7915, allocations: 21.14 kB / 1.218 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.7916, allocations: 6.812 kB / 1.218 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.913e-05/0.7916, allocations: 7.656 kB / 1.218 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.7916, allocations: 15.47 kB / 1.218 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.7917, allocations: 5.344 kB / 1.218 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-05/0.7917, allocations: 17.36 kB / 1.218 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.7917, allocations: 8.875 kB / 1.218 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.7918, allocations: 14.14 kB / 1.218 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.7919, allocations: 30.95 kB / 1.218 GB, free: 2.648 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7919, allocations: 1.25 kB / 1.218 GB, free: 2.648 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7919, allocations: 0 / 1.218 GB, free: 2.648 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7919, allocations: 0 / 1.218 GB, free: 2.648 MB / 0.92 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.0004897/0.7924, allocations: 346.3 kB / 1.219 GB, free: 2.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.7924, allocations: 17.8 kB / 1.219 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.7926, allocations: 16.3 kB / 1.219 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.7927, allocations: 166.7 kB / 1.219 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.7928, allocations: 384 / 1.219 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.7928, allocations: 1.594 kB / 1.219 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.793, allocations: 66.36 kB / 1.219 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.793, allocations: 192 / 1.219 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.793, allocations: 3.938 kB / 1.219 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.793, allocations: 5.312 kB / 1.219 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.7932, allocations: 46.33 kB / 1.219 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.7936, allocations: 266.1 kB / 1.219 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.7938, allocations: 63.58 kB / 1.219 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.7939, allocations: 29.92 kB / 1.219 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.7939, allocations: 0 / 1.219 GB, free: 1.613 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.7939, allocations: 35.78 kB / 1.219 GB, free: 1.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.7939, allocations: 0 / 1.219 GB, free: 1.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004264/0.7944, allocations: 104.9 kB / 1.219 GB, free: 1.504 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.7944, allocations: 51.41 kB / 1.219 GB, free: 1.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.7945, allocations: 105.7 kB / 1.219 GB, free: 1.336 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.7945, allocations: 25.7 kB / 1.219 GB, free: 1.305 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.7946, allocations: 81.48 kB / 1.22 GB, free: 1.223 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.7946, allocations: 9.172 kB / 1.22 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.7946, allocations: 16.22 kB / 1.22 GB, free: 1.195 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.7948, allocations: 316.2 kB / 1.22 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.7949, allocations: 24.94 kB / 1.22 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.639e-05/0.795, allocations: 29.88 kB / 1.22 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.7952, allocations: 50.09 kB / 1.22 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7952, allocations: 4.062 kB / 1.22 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002411/0.7954, allocations: 84.47 kB / 1.22 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.7955, allocations: 4.688 kB / 1.22 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7955, allocations: 1.156 kB / 1.22 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.7955, allocations: 3.984 kB / 1.22 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.7956, allocations: 8.062 kB / 1.22 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.7956, allocations: 7.922 kB / 1.22 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.7957, allocations: 12.48 kB / 1.22 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.7957, allocations: 1.125 kB / 1.22 GB, free: 0.7422 MB / 0.92 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 9.543e-05/0.7958, allocations: 117.2 kB / 1.22 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.7958, allocations: 1.125 kB / 1.22 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.7958, allocations: 8.594 kB / 1.22 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7958, allocations: 1.094 kB / 1.22 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7958, allocations: 0 / 1.22 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.7958, allocations: 0 / 1.22 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.796, allocations: 164.7 kB / 1.22 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.796, allocations: 4 kB / 1.22 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.7961, allocations: 11.8 kB / 1.22 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7961, allocations: 0 / 1.22 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.7961, allocations: 1.062 kB / 1.22 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7961, allocations: 0 / 1.22 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7961, allocations: 1.094 kB / 1.22 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.7964, allocations: 186.8 kB / 1.221 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.7965, allocations: 82.59 kB / 1.221 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.7965, allocations: 0 / 1.221 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-05/0.7966, allocations: 9.703 kB / 1.221 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.7966, allocations: 1.312 kB / 1.221 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.7966, allocations: 4 kB / 1.221 GB, free: 128 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.7967, allocations: 87.92 kB / 1.221 GB, free: 44 kB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.7967, allocations: 1.344 kB / 1.221 GB, free: 44 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002162/0.7969, allocations: 8.5 kB / 1.221 GB, free: 40 kB / 0.92 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.0001366/0.797, allocations: 95.78 kB / 1.221 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.7973, allocations: 48.98 kB / 1.221 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7973, allocations: 0 / 1.221 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.7974, allocations: 35.41 kB / 1.221 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.7977, allocations: 9.094 kB / 1.221 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.798, allocations: 150.4 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.7984, allocations: 0.6744 MB / 1.222 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.7984, allocations: 8.438 kB / 1.222 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.7984, allocations: 0 / 1.222 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.002062/0.8005, allocations: 0.6386 MB / 1.222 GB, free: 14.73 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches