Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001135/0.001135, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.002121/0.002121, allocations: 185 kB / 24.09 MB, free: 412 kB / 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 0.9991/0.9991, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.903/1.903, allocations: 377.9 MB / 0.6239 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8121 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.313e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.00134/0.001363, allocations: 0.6969 MB / 0.8127 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007976/0.002161, allocations: 0.86 MB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.002196, allocations: 0 / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.002219, allocations: 0 / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.002279, allocations: 3.938 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.002432, allocations: 9.156 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.73e-05/0.002489, allocations: 23.92 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.995e-05/0.002569, allocations: 11.97 kB / 0.8136 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.002639, allocations: 12.84 kB / 0.8136 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.033e-05/0.002669, allocations: 11.98 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.002681, allocations: 0.6562 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.209e-05/0.002723, allocations: 7.938 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.002737, allocations: 5.25 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.256e-05/0.00275, allocations: 4 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.526e-05/0.002835, allocations: 27.89 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002837, allocations: 1.594 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002837, allocations: 0 / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.00284, allocations: 0 / 0.8137 GB, free: 15.7 MB / 0.7761 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.0002668/0.003107, allocations: 352.7 kB / 0.814 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.003143, allocations: 13.03 kB / 0.814 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.003213, allocations: 0.9375 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.876e-05/0.003282, allocations: 124.5 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.003289, allocations: 1.062 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-06/0.003295, allocations: 4.375 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.538e-05/0.00338, allocations: 47.92 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-06/0.003386, allocations: 192 / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.003391, allocations: 1.125 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.003395, allocations: 4.375 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.003413, allocations: 4.781 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.003616, allocations: 236.4 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.823e-05/0.003655, allocations: 28.31 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.003669, allocations: 15.75 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.003687, allocations: 1.969 kB / 0.8145 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.003707, allocations: 37.38 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.003708, allocations: 0 / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001116/0.003819, allocations: 49.52 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.003843, allocations: 56.41 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.0039, allocations: 157.9 kB / 0.8148 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.003909, allocations: 25.7 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.004085, allocations: 131.4 kB / 0.8149 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.004101, allocations: 11.88 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.004126, allocations: 20.22 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.004228, allocations: 492.1 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.004238, allocations: 5.688 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.004245, allocations: 0 / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.00427, allocations: 11.69 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004272, allocations: 1.531 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.458e-05/0.004327, allocations: 45.62 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.004338, allocations: 4 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.004342, allocations: 4 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.004352, allocations: 5.531 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.004409, allocations: 4 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.004412, allocations: 0 / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.004428, allocations: 7.984 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.004431, allocations: 0.9062 kB / 0.8155 GB, free: 13.65 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 (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 5.544e-05/0.004487, allocations: 158.2 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.004501, allocations: 4 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/0.00457, allocations: 44.94 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.004573, allocations: 3.938 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.004575, allocations: 4.625 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.004579, allocations: 4 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.805e-05/0.004667, allocations: 101.9 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.004668, allocations: 0 / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.004691, allocations: 4.625 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.004693, allocations: 1.062 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.004697, allocations: 0 / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.004698, allocations: 0 / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.004699, allocations: 0.5312 kB / 0.8158 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.869e-05/0.004787, allocations: 193.2 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.004793, allocations: 0 / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-06/0.0048, allocations: 0 / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.006e-05/0.00483, allocations: 4 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.004857, allocations: 5.141 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.00486, allocations: 3.938 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.004892, allocations: 127.1 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.004892, allocations: 0.8125 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001351/0.005027, allocations: 11.94 kB / 0.8162 GB, free: 12.94 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 (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 7.719e-05/0.005104, allocations: 92.19 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.276e-05/0.005157, allocations: 21.02 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.005158, allocations: 0 / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.507e-05/0.005173, allocations: 12.44 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.005351, allocations: 9.875 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.005551, allocations: 121 kB / 0.8164 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.073e-05/0.005582, allocations: 59.3 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.587e-05/0.005598, allocations: 4.797 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.00564, allocations: 70.2 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of SimCode: time 8.71e-07/0.005641, allocations: 3.406 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.001894/0.007535, allocations: 0.5059 MB / 0.817 GB, free: 12.01 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.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: 5.177851931191981]