Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001074/0.001074, 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.001148/0.001148, 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 0.9623/0.9623, allocations: 177.2 MB / 204.2 MB, free: 5.602 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.826/1.826, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.551e-06/5.551e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.961e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002107/0.002147, allocations: 0.6883 MB / 0.8123 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.003347, allocations: 0.8586 MB / 0.8131 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.654e-05/0.003394, allocations: 4 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.327e-05/0.003437, allocations: 1.906 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.27e-05/0.00352, allocations: 3.938 kB / 0.8131 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.003797, allocations: 15.97 kB / 0.8131 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.003897, allocations: 23.92 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.003997, allocations: 0.6875 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.004088, allocations: 23.92 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.004126, allocations: 0.5312 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.004144, allocations: 4.719 kB / 0.8132 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.0042, allocations: 11.92 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.004219, allocations: 4.531 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.004239, allocations: 4 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.004365, allocations: 25.28 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.004368, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of FrontEnd: time 1.763e-06/0.00437, allocations: 0 / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.004375, allocations: 0 / 0.8132 GB, free: 0 / 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.0004548/0.00483, allocations: 361.2 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.004878, allocations: 9.406 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.005003, allocations: 4.938 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.005116, allocations: 116.5 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005131, allocations: 384 / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.00514, allocations: 1.531 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.005284, allocations: 54.95 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.005295, allocations: 5.516 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.005305, allocations: 384 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.005315, allocations: 384 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.005347, allocations: 11.92 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.005653, allocations: 249.1 kB / 0.814 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.00571, allocations: 31.09 kB / 0.814 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.005738, allocations: 11.75 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.005756, allocations: 0.625 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.005778, allocations: 34.67 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.005779, allocations: 4 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.005936, allocations: 49.53 kB / 0.8141 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.005966, allocations: 52.25 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.006043, allocations: 161.9 kB / 0.8143 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.006054, allocations: 26.98 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.006101, allocations: 130.9 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.006122, allocations: 3.953 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.00615, allocations: 20.62 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.006266, allocations: 0.4884 MB / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.006283, allocations: 0 / 0.815 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.006294, allocations: 5.812 kB / 0.815 GB, free: 14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.006324, allocations: 11.69 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.006327, allocations: 0 / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.285e-05/0.00639, allocations: 49.56 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.006406, allocations: 9.188 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.006412, allocations: 3.938 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.006424, allocations: 0 / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.006505, allocations: 8 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.00651, allocations: 0 / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.006527, allocations: 0 / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.006533, allocations: 4 kB / 0.8151 GB, free: 13.91 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 6.7e-05/0.0066, allocations: 157.6 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.006615, allocations: 4 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.932e-05/0.006714, allocations: 50.81 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006716, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.00672, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006724, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.962e-05/0.006824, allocations: 116.6 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.006828, allocations: 12.89 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.006868, allocations: 4 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.006871, allocations: 0.7812 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.006879, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.006883, allocations: 4.594 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.006885, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.007001, allocations: 188.6 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.007008, allocations: 3.094 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.007019, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-05/0.00705, allocations: 7.938 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.007097, allocations: 3.984 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.0071, allocations: 0 / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.007139, allocations: 131.1 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007139, allocations: 0 / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000134/0.007273, allocations: 4 kB / 0.8157 GB, free: 13.18 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 9.734e-05/0.007371, allocations: 97.69 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.698e-05/0.007458, allocations: 15.67 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.00746, allocations: 0 / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/0.007477, allocations: 11.69 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.007676, allocations: 12.91 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.007962, allocations: 123.4 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.032e-05/0.008003, allocations: 55.3 kB / 0.816 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.008021, allocations: 5.109 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.00806, allocations: 12.5 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of SimCode: time 1.433e-06/0.008062, allocations: 1.094 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.002349/0.01041, allocations: 488.8 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.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.03366784285754]