Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.001918/0.001918, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.002064/0.002064, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.152/3.152, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0.7656 kB / 0.8109 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.457e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002013/0.002048, allocations: 0.7076 MB / 0.8116 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003283, allocations: 0.8362 MB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.00332, allocations: 0.5625 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.003349, allocations: 8.609 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.003427, allocations: 3.938 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.547e-05/0.003493, allocations: 12.89 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.408e-05/0.003587, allocations: 47.8 kB / 0.8125 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.00369, allocations: 8.641 kB / 0.8125 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.003791, allocations: 32.78 kB / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.003832, allocations: 7.984 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.003853, allocations: 4 kB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.495e-05/0.003868, allocations: 5.188 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.003889, allocations: 7.984 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.003922, allocations: 15.94 kB / 0.8125 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.004026, allocations: 37.39 kB / 0.8126 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.004031, allocations: 4 kB / 0.8126 GB, free: 340 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004032, allocations: 0 / 0.8126 GB, free: 340 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.004037, allocations: 0 / 0.8126 GB, free: 340 kB / 0.7605 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.0008561/0.004893, allocations: 381.7 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.004933, allocations: 8.031 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.004979, allocations: 12.83 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.005128, allocations: 117.2 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.005149, allocations: 4.375 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.00516, allocations: 1.531 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.005376, allocations: 54.19 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.005388, allocations: 1.594 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.005406, allocations: 8.359 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.005412, allocations: 4.375 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.005612, allocations: 40.53 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.006136, allocations: 268.9 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.006309, allocations: 50.98 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.006428, allocations: 36.52 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.006446, allocations: 0.7188 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.006495, allocations: 41.38 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.006496, allocations: 1.281 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004154/0.006911, allocations: 95.44 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.006963, allocations: 55.41 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.007115, allocations: 169.9 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.00714, allocations: 29.7 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.007241, allocations: 134.8 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.007272, allocations: 17.22 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.007321, allocations: 19.38 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003253/0.007646, allocations: 0.4884 MB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.496e-05/0.007741, allocations: 20.48 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.071e-05/0.007822, allocations: 20.55 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.007996, allocations: 45.53 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.007998, allocations: 0 / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002361/0.008234, allocations: 82.52 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.008256, allocations: 7.938 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.00826, allocations: 0.5938 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.008282, allocations: 9.969 kB / 0.8147 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.008403, allocations: 11.98 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.008409, allocations: 0 / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.008461, allocations: 8 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.008472, allocations: 4 kB / 0.8147 GB, free: 13.93 MB / 0.7761 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 0.000141/0.008613, allocations: 153.1 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.008639, allocations: 8.656 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.008685, allocations: 19.92 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.008687, allocations: 0.8125 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.008691, allocations: 0 / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008694, allocations: 0.9375 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.008891, allocations: 128.6 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.008891, allocations: 0 / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.008959, allocations: 13.33 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.00896, allocations: 0 / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.00897, allocations: 0 / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.008975, allocations: 4.906 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.008976, allocations: 0 / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.009338, allocations: 226.1 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.009357, allocations: 7.984 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.009371, allocations: 0 / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.009446, allocations: 7.938 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.009498, allocations: 7.984 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.009504, allocations: 7.438 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.395e-05/0.009588, allocations: 131.5 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009588, allocations: 0 / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002031/0.009791, allocations: 8 kB / 0.8154 GB, free: 13.16 MB / 0.7761 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 0.0001532/0.009945, allocations: 96.78 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.01019, allocations: 55.66 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01019, allocations: 4.719 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.0103, allocations: 31.67 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.01058, allocations: 17.02 kB / 0.8156 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.01095, allocations: 131.2 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.696e-05/0.01103, allocations: 76.09 kB / 0.8158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.01106, allocations: 0 / 0.8158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.0111, allocations: 9.031 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.0111, allocations: 4.5 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.003838/0.01494, allocations: 0.7394 MB / 0.8166 GB, free: 11.97 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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: 8.302433394943364]