Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.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.0007367/0.0007367, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009349/0.001672, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007012/0.0007012, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008596/0.001561, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9272/0.9272, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08956/1.017, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.834/1.834, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5102/2.344, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.834e-05, allocations: 3.297 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00196/0.001978, allocations: 1.595 MB / 0.7309 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001563/0.002135, allocations: 108.5 kB / 0.731 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.002164, allocations: 4 kB / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.002195, allocations: 4.844 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.187e-05/0.002237, allocations: 13.94 kB / 0.731 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.914e-05/0.002326, allocations: 19.97 kB / 0.731 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.251e-05/0.002399, allocations: 48.95 kB / 0.7311 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.002469, allocations: 7.984 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.281e-05/0.002541, allocations: 30.17 kB / 0.7311 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.002584, allocations: 22.72 kB / 0.7311 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.0026, allocations: 4 kB / 0.7312 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.947e-05/0.002679, allocations: 28.84 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.00271, allocations: 9.75 kB / 0.7312 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.002727, allocations: 14.44 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.661e-05/0.002823, allocations: 39.91 kB / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.002834, allocations: 4.469 kB / 0.7312 GB, free: 2.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002835, allocations: 0.875 kB / 0.7312 GB, free: 2.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.002846, allocations: 0 / 0.7312 GB, free: 2.59 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003113/0.003158, allocations: 273.3 kB / 0.7315 GB, free: 2.297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.699e-05/0.003185, allocations: 8.031 kB / 0.7315 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.003207, allocations: 6.375 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.43e-05/0.003281, allocations: 121.7 kB / 0.7316 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.003289, allocations: 4.375 kB / 0.7316 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.003296, allocations: 384 / 0.7316 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.0034, allocations: 74.34 kB / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.003405, allocations: 0.875 kB / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.003414, allocations: 8.359 kB / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-06/0.003417, allocations: 0.9375 kB / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.003438, allocations: 7.938 kB / 0.7317 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.003636, allocations: 163.7 kB / 0.7319 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.003695, allocations: 69.31 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.00371, allocations: 8.797 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.003817, allocations: 34.12 kB / 0.732 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.003835, allocations: 30.56 kB / 0.732 GB, free: 1.703 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.003836, allocations: 0 / 0.732 GB, free: 1.703 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 9.481e-05/0.00393, allocations: 50.97 kB / 0.7321 GB, free: 1.648 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.003955, allocations: 51.41 kB / 0.7321 GB, free: 1.586 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.547e-05/0.004011, allocations: 126.3 kB / 0.7322 GB, free: 1.453 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.004019, allocations: 26.58 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.004046, allocations: 92.11 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.004062, allocations: 11.84 kB / 0.7324 GB, free: 1.316 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.004086, allocations: 22.59 kB / 0.7324 GB, free: 1.289 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.004152, allocations: 318.8 kB / 0.7327 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.004162, allocations: 11.33 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-06/0.004171, allocations: 5.562 kB / 0.7327 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.004193, allocations: 15.67 kB / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004195, allocations: 0 / 0.7327 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.816e-05/0.004233, allocations: 41.69 kB / 0.7328 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.004242, allocations: 4 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.004247, allocations: 1.219 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-06/0.004254, allocations: 7.875 kB / 0.7328 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.004318, allocations: 12.73 kB / 0.7328 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.004322, allocations: 7.938 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.004341, allocations: 4.969 kB / 0.7328 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.004345, allocations: 0 / 0.7328 GB, free: 0.8516 MB / 0.698 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): 3 * 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 4.746e-05/0.004393, allocations: 117.8 kB / 0.7329 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.004406, allocations: 4 kB / 0.7329 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/0.00447, allocations: 49.67 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.004472, allocations: 5.031 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.004478, allocations: 4 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.00448, allocations: 0.5312 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.796e-05/0.004558, allocations: 78.91 kB / 0.733 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.004559, allocations: 0 / 0.733 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.004587, allocations: 11.98 kB / 0.7331 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.004594, allocations: 8.641 kB / 0.7331 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.004595, allocations: 3.984 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.0046, allocations: 1.781 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.004601, allocations: 3.938 kB / 0.7331 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.004603, allocations: 3.938 kB / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.645e-05/0.004679, allocations: 182.3 kB / 0.7333 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-06/0.004687, allocations: 1.156 kB / 0.7333 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-05/0.004722, allocations: 11.98 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.004746, allocations: 4 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.00475, allocations: 4.688 kB / 0.7333 GB, free: 324 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.469e-05/0.004765, allocations: 16.84 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.004765, allocations: 0.75 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001169/0.004882, allocations: 12 kB / 0.7333 GB, free: 292 kB / 0.698 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): 3 * 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 7.597e-05/0.004957, allocations: 90.91 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.177e-05/0.005009, allocations: 16.8 kB / 0.7334 GB, free: 176 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.005015, allocations: 4 kB / 0.7334 GB, free: 172 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.00503, allocations: 8.859 kB / 0.7334 GB, free: 160 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.005153, allocations: 14.66 kB / 0.7334 GB, free: 148 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.00548, allocations: 151.4 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.005511, allocations: 60.31 kB / 0.7336 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.106e-05/0.005532, allocations: 9 kB / 0.7336 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.005575, allocations: 51.38 kB / 0.7337 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.005575, allocations: 0 / 0.7337 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of Templates: time 0.002054/0.007629, allocations: 0.821 MB / 0.7345 GB, free: 15.05 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.800951901823282]