Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001405/0.001405, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001742/0.001742, allocations: 161 kB / 23.82 MB, free: 0.75 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.002/1.002, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.829/1.829, allocations: 377.8 MB / 0.6236 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 178] 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8116 GB, free: 488 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.19e-05, allocations: 5.297 kB / 0.8116 GB, free: 484 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001728/0.00175, allocations: 0.7168 MB / 0.8123 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.002893, allocations: 0.8518 MB / 0.8131 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.002934, allocations: 0 / 0.8131 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.002977, allocations: 4.75 kB / 0.8131 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.003058, allocations: 11.88 kB / 0.8132 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 7.143e-05/0.00313, allocations: 13.64 kB / 0.8132 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.762e-05/0.003228, allocations: 43.84 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003336, allocations: 8 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.00344, allocations: 27.95 kB / 0.8132 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.003486, allocations: 17.48 kB / 0.8133 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.003512, allocations: 4 kB / 0.8133 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.003521, allocations: 4 kB / 0.8133 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.003542, allocations: 7.984 kB / 0.8133 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.003572, allocations: 9.188 kB / 0.8133 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.003676, allocations: 31.91 kB / 0.8133 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003678, allocations: 0 / 0.8133 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003679, allocations: 1.594 kB / 0.8133 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.003684, allocations: 0 / 0.8133 GB, free: 14.74 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.0004795/0.004163, allocations: 376.2 kB / 0.8137 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.004214, allocations: 8.031 kB / 0.8137 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.00427, allocations: 9.609 kB / 0.8137 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.004391, allocations: 124.5 kB / 0.8138 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.004405, allocations: 0.9062 kB / 0.8138 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.004418, allocations: 6.031 kB / 0.8138 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.004587, allocations: 62.94 kB / 0.8139 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004595, allocations: 192 / 0.8139 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.004608, allocations: 384 / 0.8139 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.004617, allocations: 1.031 kB / 0.8139 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.146e-05/0.004659, allocations: 7.938 kB / 0.8139 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.005011, allocations: 264.9 kB / 0.8141 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.252e-05/0.005103, allocations: 42.98 kB / 0.8142 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.00514, allocations: 12.84 kB / 0.8142 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.005149, allocations: 0 / 0.8142 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.005175, allocations: 33.39 kB / 0.8142 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.005176, allocations: 5.375 kB / 0.8142 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001905/0.005366, allocations: 57.59 kB / 0.8143 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.005406, allocations: 51.41 kB / 0.8143 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.005508, allocations: 167.7 kB / 0.8145 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.005523, allocations: 25.7 kB / 0.8145 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.005587, allocations: 138.8 kB / 0.8147 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.005611, allocations: 11.88 kB / 0.8147 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.00565, allocations: 23.38 kB / 0.8147 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.005802, allocations: 494.1 kB / 0.8152 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.005827, allocations: 4 kB / 0.8152 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.005848, allocations: 8.172 kB / 0.8152 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.735e-05/0.005895, allocations: 19.77 kB / 0.8152 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005897, allocations: 0 / 0.8152 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.291e-05/0.00599, allocations: 46.33 kB / 0.8152 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.00601, allocations: 11.92 kB / 0.8152 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.006016, allocations: 2.406 kB / 0.8152 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.006034, allocations: 0 / 0.8152 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.006141, allocations: 8 kB / 0.8153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.00615, allocations: 320 / 0.8153 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.006187, allocations: 11.94 kB / 0.8153 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.006195, allocations: 0 / 0.8153 GB, free: 12.55 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 9.559e-05/0.006291, allocations: 162.5 kB / 0.8154 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.006317, allocations: 4 kB / 0.8154 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.006348, allocations: 11.94 kB / 0.8154 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.00635, allocations: 0 / 0.8154 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.006355, allocations: 0.5 kB / 0.8154 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.006362, allocations: 3.984 kB / 0.8154 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.006515, allocations: 117.2 kB / 0.8156 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.006518, allocations: 5.828 kB / 0.8156 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.006565, allocations: 12 kB / 0.8156 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.006567, allocations: 0 / 0.8156 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.006577, allocations: 0 / 0.8156 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.006582, allocations: 7.922 kB / 0.8156 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.006585, allocations: 6.469 kB / 0.8156 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.006759, allocations: 195.9 kB / 0.8158 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.006765, allocations: 0 / 0.8158 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.00678, allocations: 3.984 kB / 0.8158 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.006845, allocations: 11.88 kB / 0.8158 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.006894, allocations: 7.984 kB / 0.8158 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.006897, allocations: 1.125 kB / 0.8158 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.006952, allocations: 127.2 kB / 0.8159 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.006952, allocations: 0 / 0.8159 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002661/0.007218, allocations: 8.719 kB / 0.8159 GB, free: 11.81 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 9.031e-05/0.007309, allocations: 95.86 kB / 0.816 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.007418, allocations: 24.47 kB / 0.816 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.007421, allocations: 4 kB / 0.816 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.00745, allocations: 15.38 kB / 0.8161 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.007717, allocations: 7.984 kB / 0.8161 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.008046, allocations: 130.2 kB / 0.8162 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.008091, allocations: 59.34 kB / 0.8162 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.008116, allocations: 4 kB / 0.8162 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.008152, allocations: 10.47 kB / 0.8163 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of SimCode: time 8.21e-07/0.008153, allocations: 0 / 0.8163 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.002751/0.0109, allocations: 0.7918 MB / 0.817 GB, free: 10.65 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.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.895024513825774]