Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002331/0.002331, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 177.2 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.194/3.194, allocations: 429.6 MB / 0.673 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.607e-05, allocations: 6.219 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002819/0.002845, allocations: 1.466 MB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002847/0.00313, allocations: 93.47 kB / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.003165, allocations: 0.7656 kB / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.003191, allocations: 3.938 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/0.003238, allocations: 3.359 kB / 0.8791 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.003441, allocations: 19.92 kB / 0.8791 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.929e-05/0.00353, allocations: 29.22 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.91e-05/0.003609, allocations: 4 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.003671, allocations: 11.98 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.003709, allocations: 12.64 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.003724, allocations: 1.219 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.003787, allocations: 15.97 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.003802, allocations: 8 kB / 0.8792 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.003828, allocations: 3.938 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.003953, allocations: 40.48 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003955, allocations: 1.375 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003956, allocations: 0 / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003959, allocations: 0 / 0.8793 GB, free: 4.801 MB / 0.8386 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.0004707/0.00443, allocations: 267.1 kB / 0.8795 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.004467, allocations: 8.031 kB / 0.8795 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.004661, allocations: 17.44 kB / 0.8795 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.004776, allocations: 110.9 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.004795, allocations: 8.312 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.004806, allocations: 4.375 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.004998, allocations: 50.89 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.005008, allocations: 5.25 kB / 0.8797 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.005018, allocations: 384 / 0.8797 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.005022, allocations: 3.906 kB / 0.8797 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.005253, allocations: 55.81 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.005644, allocations: 204.6 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.005842, allocations: 58.47 kB / 0.88 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.00596, allocations: 29.67 kB / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.005979, allocations: 4 kB / 0.8801 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.006013, allocations: 35.16 kB / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.006014, allocations: 1.438 kB / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004762/0.00649, allocations: 113.5 kB / 0.8802 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.006537, allocations: 55.34 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.006639, allocations: 105.8 kB / 0.8804 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.006661, allocations: 25.7 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.006721, allocations: 84.14 kB / 0.8805 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.006742, allocations: 7.953 kB / 0.8805 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.00678, allocations: 9.719 kB / 0.8805 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.006952, allocations: 322.8 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.007066, allocations: 20.11 kB / 0.8808 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.007168, allocations: 23.97 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.007389, allocations: 52.81 kB / 0.8809 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.007391, allocations: 0 / 0.8809 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002735/0.007665, allocations: 89.64 kB / 0.881 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.00768, allocations: 6.5 kB / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.007687, allocations: 4.188 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.007705, allocations: 0 / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.007819, allocations: 15.98 kB / 0.881 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.007825, allocations: 0 / 0.881 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.00789, allocations: 7.984 kB / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.007898, allocations: 4 kB / 0.881 GB, free: 2.863 MB / 0.8386 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.398e-05/0.007992, allocations: 109.8 kB / 0.8811 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.008023, allocations: 11.98 kB / 0.8811 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.00805, allocations: 7.562 kB / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008051, allocations: 0 / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.008055, allocations: 0 / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.008057, allocations: 0 / 0.8811 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.008213, allocations: 109.3 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008214, allocations: 0 / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.0083, allocations: 11.98 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.008302, allocations: 3.938 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.00831, allocations: 0 / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.008313, allocations: 7.938 kB / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.008314, allocations: 0 / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.008653, allocations: 183.4 kB / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.008662, allocations: 0 / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.008678, allocations: 0 / 0.8814 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.008777, allocations: 11.92 kB / 0.8814 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.008819, allocations: 4 kB / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.008823, allocations: 0 / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.008885, allocations: 91.3 kB / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008885, allocations: 0 / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002268/0.009112, allocations: 11.89 kB / 0.8815 GB, free: 2.258 MB / 0.8386 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.0001396/0.009252, allocations: 95.25 kB / 0.8816 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.009517, allocations: 47.95 kB / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009519, allocations: 0 / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.009636, allocations: 35.97 kB / 0.8817 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.00993, allocations: 4 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.01033, allocations: 125.3 kB / 0.8818 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.0104, allocations: 55.36 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.384e-05/0.01043, allocations: 4.047 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.298e-05/0.01048, allocations: 20.5 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of SimCode: time 7.81e-07/0.01048, allocations: 0 / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of Templates: time 0.00328/0.01376, allocations: 0.6626 MB / 0.8826 GB, free: 1.164 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9658864149823785]