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.001523/0.001523, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 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.001543/0.001543, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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.632/1.632, allocations: 230.5 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.536/3.536, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002994/0.002994, allocations: 73.94 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4447, allocations: 176.1 MB / 1.321 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001929/0.4467, allocations: 0.6623 MB / 1.322 GB, free: 2.211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.4479, allocations: 0.8475 MB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.493e-05/0.4479, allocations: 0 / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.448, allocations: 0 / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.448, allocations: 7.938 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.4483, allocations: 19.98 kB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.4484, allocations: 15.94 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.4485, allocations: 19.91 kB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.369e-05/0.4486, allocations: 0 / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.4487, allocations: 19.86 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.4487, allocations: 4 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.187e-05/0.4487, allocations: 4 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.4487, allocations: 4 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.4488, allocations: 7.938 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.4489, allocations: 35.81 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4489, allocations: 4 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4489, allocations: 0 / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.4489, allocations: 0 / 1.323 GB, free: 1.211 MB / 1.014 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.0005961/0.4495, allocations: 335.5 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.4496, allocations: 19.92 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.4497, allocations: 0.9375 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.4499, allocations: 168.3 kB / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.4499, allocations: 384 / 1.323 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.4499, allocations: 4.375 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.4501, allocations: 54.22 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4501, allocations: 192 / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4501, allocations: 3.938 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4502, allocations: 0 / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.4503, allocations: 39.89 kB / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.4508, allocations: 244.9 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.451, allocations: 42.53 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/0.4511, allocations: 20.91 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.4511, allocations: 4 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4511, allocations: 30.56 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 3.406e-06/0.4511, allocations: 4 kB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003892/0.4515, allocations: 85.58 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.4516, allocations: 51.41 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.4517, allocations: 101.8 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4517, allocations: 25.7 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.4517, allocations: 80.14 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.4518, allocations: 12.02 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.4518, allocations: 17.72 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.452, allocations: 314.8 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.4521, allocations: 15.97 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.4521, allocations: 15.98 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.4523, allocations: 44.83 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4523, allocations: 0 / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002142/0.4525, allocations: 69.59 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4525, allocations: 4 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4525, allocations: 7.984 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4525, allocations: 0 / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.4526, allocations: 15.92 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4526, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.4527, allocations: 12.02 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.4527, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 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 8.443e-05/0.4528, allocations: 117.7 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.4528, allocations: 7.953 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.453, allocations: 68.72 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4531, allocations: 0 / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4531, allocations: 4.031 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.4531, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.4532, allocations: 165.6 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4532, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.4533, allocations: 8 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4533, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4533, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.4533, allocations: 7.984 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4533, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.4536, allocations: 163.4 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.4536, allocations: 81.09 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.4536, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.4537, allocations: 8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.4538, allocations: 3.984 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4538, allocations: 0 / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.4538, allocations: 83.48 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4538, allocations: 4 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002082/0.454, allocations: 4 kB / 1.325 GB, free: 14.36 MB / 1.029 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 0.0001689/0.4542, allocations: 99.25 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4544, allocations: 39.95 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4544, allocations: 0 / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.4545, allocations: 23.98 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.4548, allocations: 3.938 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.4551, allocations: 101.6 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.4554, allocations: 0.6806 MB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.4555, allocations: 4 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.4555, allocations: 11.44 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4555, allocations: 0 / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Templates: time 0.002778/0.4583, allocations: 439.7 kB / 1.327 GB, free: 12.91 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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: 9.904483768157661]