Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001428/0.001428, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001006/0.001006, allocations: 169 kB / 24.28 MB, free: 276 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.9675/0.9675, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.94/1.94, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.154e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001266/0.001288, allocations: 0.6815 MB / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.002053, allocations: 0.8625 MB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.002084, allocations: 1.875 kB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.002106, allocations: 0 / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.691e-05/0.002163, allocations: 7.969 kB / 0.8131 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.002327, allocations: 11.94 kB / 0.8131 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.262e-05/0.00239, allocations: 27.92 kB / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.667e-05/0.002466, allocations: 5.344 kB / 0.8132 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.002533, allocations: 15.92 kB / 0.8132 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.138e-05/0.002564, allocations: 7.984 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.002578, allocations: 5.594 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-05/0.002616, allocations: 11.92 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.002629, allocations: 4 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.002646, allocations: 8 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.622e-05/0.002732, allocations: 19.91 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.002735, allocations: 0.5312 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002735, allocations: 0.7188 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.002739, allocations: 0 / 0.8132 GB, free: 328 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003143/0.003053, allocations: 361.1 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.003089, allocations: 13.66 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.003176, allocations: 0.9375 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.442e-05/0.00325, allocations: 108.6 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.003262, allocations: 8.297 kB / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.00327, allocations: 4.906 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.003377, allocations: 56.25 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.003382, allocations: 192 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.003391, allocations: 4.375 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.003397, allocations: 384 / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.003424, allocations: 5.094 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.00367, allocations: 247.8 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.76e-05/0.003718, allocations: 36.38 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.003735, allocations: 7.688 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.003751, allocations: 0 / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.003771, allocations: 41.45 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.003772, allocations: 1.562 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001338/0.003905, allocations: 45.58 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.003933, allocations: 55.34 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.003996, allocations: 159.5 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.004005, allocations: 25.7 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.004045, allocations: 134.9 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.004061, allocations: 7.938 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.004086, allocations: 24.34 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.004189, allocations: 492.1 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.0042, allocations: 0 / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-06/0.004209, allocations: 6.094 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.463e-05/0.004234, allocations: 19.62 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004235, allocations: 0 / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.643e-05/0.004282, allocations: 41.62 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.004293, allocations: 6.25 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.004303, allocations: 3.938 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.004313, allocations: 4 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.004373, allocations: 4 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.004378, allocations: 3.984 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.004396, allocations: 4.438 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.004399, allocations: 4 kB / 0.8151 GB, free: 14.23 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.684e-05/0.004456, allocations: 157.1 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.00447, allocations: 5.938 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.00454, allocations: 44.94 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004541, allocations: 0 / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.004545, allocations: 4 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004547, allocations: 2.188 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.499e-05/0.004632, allocations: 116.6 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004633, allocations: 0 / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.004654, allocations: 11.94 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.004655, allocations: 0 / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.004661, allocations: 0 / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.004663, allocations: 4.969 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004664, allocations: 0 / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.268e-05/0.004746, allocations: 188.6 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-06/0.004751, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.00476, allocations: 5 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.151e-05/0.004792, allocations: 7.922 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.004826, allocations: 4 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.004829, allocations: 4.844 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.004859, allocations: 123.4 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004859, allocations: 3.375 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001369/0.004996, allocations: 4 kB / 0.8157 GB, free: 13.5 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 6.258e-05/0.005058, allocations: 99.23 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.046e-05/0.005119, allocations: 15.62 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.005121, allocations: 4 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.005137, allocations: 11.69 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.005307, allocations: 10.19 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.005684, allocations: 126.4 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.915e-05/0.005714, allocations: 52.3 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.401e-05/0.005728, allocations: 7.938 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.005753, allocations: 9.625 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of SimCode: time 6.82e-07/0.005753, allocations: 0 / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.001731/0.007484, allocations: 483.7 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.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.326418211916462]