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.001447/0.001447, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001615/0.001615, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.574 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 2.919/2.919, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.645e-06/2.645e-06, allocations: 0.7656 kB / 0.8109 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.847e-05/4.112e-05, allocations: 2.312 kB / 0.8109 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002377/0.002418, allocations: 0.6977 MB / 0.8116 GB, free: 208 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.003735, allocations: 0.8276 MB / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.003781, allocations: 0.9062 kB / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.003809, allocations: 0 / 0.8124 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.003893, allocations: 12.78 kB / 0.8124 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 6.941e-05/0.003962, allocations: 11.98 kB / 0.8124 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.004063, allocations: 41.42 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.00417, allocations: 15.92 kB / 0.8124 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.004266, allocations: 19.98 kB / 0.8125 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.044e-05/0.004316, allocations: 19.91 kB / 0.8125 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.004336, allocations: 5.656 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-06/0.004346, allocations: 4 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.004368, allocations: 11.98 kB / 0.8125 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.004402, allocations: 7.984 kB / 0.8125 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.00451, allocations: 43.81 kB / 0.8126 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004513, allocations: 5.594 kB / 0.8126 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004513, allocations: 0 / 0.8126 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.004519, allocations: 0 / 0.8126 GB, free: 15.17 MB / 0.7292 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.0006065/0.005126, allocations: 291.9 kB / 0.8128 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.005169, allocations: 8.031 kB / 0.8128 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.005224, allocations: 8.891 kB / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.005379, allocations: 109.7 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.005395, allocations: 1.031 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.005409, allocations: 5.562 kB / 0.813 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.0057, allocations: 66.22 kB / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.005712, allocations: 1.344 kB / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.005723, allocations: 384 / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.005729, allocations: 384 / 0.813 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.006038, allocations: 73.17 kB / 0.8131 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.006474, allocations: 214.3 kB / 0.8133 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.006703, allocations: 54.53 kB / 0.8134 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.006875, allocations: 42.22 kB / 0.8134 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.006891, allocations: 0.5 kB / 0.8134 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.006937, allocations: 38.5 kB / 0.8134 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.006938, allocations: 5.844 kB / 0.8134 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0006246/0.007562, allocations: 132 kB / 0.8136 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.007619, allocations: 55.39 kB / 0.8136 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.007749, allocations: 113.8 kB / 0.8137 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.00777, allocations: 25.7 kB / 0.8137 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.007841, allocations: 88.12 kB / 0.8138 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.007868, allocations: 16.56 kB / 0.8138 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.007921, allocations: 13.72 kB / 0.8139 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.008106, allocations: 319.4 kB / 0.8142 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.008272, allocations: 29.12 kB / 0.8142 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.008415, allocations: 28.56 kB / 0.8142 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.008692, allocations: 74.31 kB / 0.8143 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008694, allocations: 1.812 kB / 0.8143 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003329/0.009027, allocations: 94.72 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.009053, allocations: 11.94 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009058, allocations: 2.344 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.009081, allocations: 3.984 kB / 0.8144 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.009227, allocations: 12.03 kB / 0.8144 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.009236, allocations: 4 kB / 0.8144 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.009322, allocations: 15.92 kB / 0.8144 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.009333, allocations: 6 kB / 0.8144 GB, free: 13.09 MB / 0.7292 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.000105/0.009438, allocations: 113.8 kB / 0.8145 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.009472, allocations: 8 kB / 0.8146 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.009504, allocations: 15.92 kB / 0.8146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.009506, allocations: 1.062 kB / 0.8146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.00951, allocations: 0 / 0.8146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.009513, allocations: 0 / 0.8146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.009678, allocations: 110.4 kB / 0.8147 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.009679, allocations: 0 / 0.8147 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.009784, allocations: 15.98 kB / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.009787, allocations: 0.875 kB / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.009795, allocations: 0 / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.0098, allocations: 5.656 kB / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.009801, allocations: 0 / 0.8147 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.01023, allocations: 200.8 kB / 0.8149 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.01024, allocations: 0 / 0.8149 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01026, allocations: 7.938 kB / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01037, allocations: 16.58 kB / 0.8149 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.01042, allocations: 12.64 kB / 0.8149 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.01042, allocations: 0 / 0.8149 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.643e-05/0.01049, allocations: 86.88 kB / 0.815 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01049, allocations: 0 / 0.815 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002234/0.01071, allocations: 8 kB / 0.815 GB, free: 12.45 MB / 0.7292 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.0001503/0.01086, allocations: 99.23 kB / 0.8151 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003574/0.01122, allocations: 66.02 kB / 0.8152 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01122, allocations: 0 / 0.8152 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.01137, allocations: 35.91 kB / 0.8152 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.0117, allocations: 12.92 kB / 0.8152 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.01209, allocations: 124.5 kB / 0.8153 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.803e-05/0.01216, allocations: 64.47 kB / 0.8154 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.0122, allocations: 6.312 kB / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.01224, allocations: 8.5 kB / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of SimCode: time 1.192e-06/0.01224, allocations: 0 / 0.8154 GB, free: 12 MB / 0.7292 GB Notification: Performance of Templates: time 0.003589/0.01583, allocations: 0.758 MB / 0.8162 GB, free: 11.26 MB / 0.7292 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 400] 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: 7.808765472960658]