Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 119.6 kB / 16.82 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002552/0.002552, allocations: 196.7 kB / 17.77 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 65.97 kB / 1.097 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.436, allocations: 168.7 MB / 1.262 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002461/0.4384, allocations: 0.6984 MB / 1.263 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.4397, allocations: 0.8082 MB / 1.264 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.4398, allocations: 0 / 1.264 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.4398, allocations: 3.938 kB / 1.264 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.198e-05/0.4399, allocations: 11.86 kB / 1.264 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.44, allocations: 15.98 kB / 1.264 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.4402, allocations: 43.84 kB / 1.264 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.4403, allocations: 8 kB / 1.264 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.4404, allocations: 19.92 kB / 1.264 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.4405, allocations: 23.92 kB / 1.264 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.4405, allocations: 4 kB / 1.264 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.4405, allocations: 4 kB / 1.264 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.4406, allocations: 7.984 kB / 1.264 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.4406, allocations: 19.86 kB / 1.264 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.4407, allocations: 47.8 kB / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4408, allocations: 0 / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4408, allocations: 0 / 1.264 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4408, allocations: 0 / 1.264 GB, free: 11.31 MB / 0.9825 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.000671/0.4414, allocations: 363.3 kB / 1.264 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4415, allocations: 8.031 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.4415, allocations: 8.891 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.4417, allocations: 168.3 kB / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.4417, allocations: 8.375 kB / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.4417, allocations: 384 / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.4421, allocations: 66.22 kB / 1.264 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.4421, allocations: 4.188 kB / 1.264 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.4421, allocations: 7.938 kB / 1.264 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4421, allocations: 0 / 1.264 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.4424, allocations: 63.92 kB / 1.264 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.443, allocations: 276.7 kB / 1.265 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.4432, allocations: 58.48 kB / 1.265 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.4433, allocations: 40.91 kB / 1.265 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.4434, allocations: 0 / 1.265 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4434, allocations: 30.56 kB / 1.265 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4434, allocations: 0 / 1.265 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0006329/0.444, allocations: 137.5 kB / 1.265 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.4441, allocations: 51.41 kB / 1.265 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.4442, allocations: 109.8 kB / 1.265 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4442, allocations: 25.7 kB / 1.265 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.4443, allocations: 92.14 kB / 1.265 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.4443, allocations: 11.91 kB / 1.265 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.4443, allocations: 13.72 kB / 1.265 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002441/0.4446, allocations: 318.8 kB / 1.266 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.4447, allocations: 23.97 kB / 1.266 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.4449, allocations: 35.95 kB / 1.266 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4451, allocations: 68.8 kB / 1.266 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4451, allocations: 7.922 kB / 1.266 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000349/0.4455, allocations: 105.8 kB / 1.266 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4455, allocations: 8 kB / 1.266 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.4455, allocations: 48 / 1.266 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.4455, allocations: 3.984 kB / 1.266 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.4457, allocations: 15.98 kB / 1.266 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4457, allocations: 0 / 1.266 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.4458, allocations: 15.94 kB / 1.266 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.4458, allocations: 0 / 1.266 GB, free: 8.977 MB / 0.9825 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 0.0001031/0.4459, allocations: 117.8 kB / 1.266 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.4459, allocations: 8 kB / 1.266 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.4463, allocations: 105.5 kB / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4463, allocations: 0 / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4463, allocations: 0 / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.4463, allocations: 81.06 kB / 1.266 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.4464, allocations: 0 / 1.266 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.4465, allocations: 19.98 kB / 1.266 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.4465, allocations: 11.92 kB / 1.266 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004182/0.4469, allocations: 176.9 kB / 1.266 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004379/0.4474, allocations: 278.6 kB / 1.267 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001564/0.4475, allocations: 35.95 kB / 1.267 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.4476, allocations: 83.28 kB / 1.267 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of Backend: time 4.31e-07/0.4476, allocations: 0 / 1.267 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000552/0.4481, allocations: 123.5 kB / 1.267 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0007204/0.4489, allocations: 0.5886 MB / 1.267 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.003643/0.4525, allocations: 0.8444 MB / 1.268 GB, free: 6.414 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches