Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001218/0.001218, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 67.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001681/1.017, allocations: 0.5526 MB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.964e-05/1.017, allocations: 0.9375 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/1.017, allocations: 0 / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/1.017, allocations: 0.7031 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.66e-05/1.017, allocations: 0.9688 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.439e-05/1.017, allocations: 0 / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.726e-05/1.017, allocations: 10.06 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.893e-05/1.017, allocations: 5.922 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/1.017, allocations: 0.7969 kB / 1.089 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.006e-05/1.017, allocations: 5.125 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/1.017, allocations: 0 / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.468e-06/1.017, allocations: 1.156 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/1.017, allocations: 3.938 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/1.018, allocations: 0 / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.522e-05/1.018, allocations: 3.375 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.018, allocations: 0 / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.564e-06/1.018, allocations: 0 / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.79e-06/1.018, allocations: 4.844 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002611/1.018, allocations: 316.6 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.018, allocations: 9.062 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/1.018, allocations: 2.031 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/1.018, allocations: 162.6 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/1.018, allocations: 384 / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/1.018, allocations: 1.656 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.989e-05/1.018, allocations: 27.97 kB / 1.09 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.018, allocations: 1.094 kB / 1.09 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/1.018, allocations: 4.594 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/1.018, allocations: 0 / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.452e-05/1.018, allocations: 6.031 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/1.018, allocations: 382.2 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.491e-05/1.018, allocations: 175.1 kB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/1.019, allocations: 80.14 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/1.019, allocations: 83.22 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/1.019, allocations: 111.7 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.019, allocations: 0 / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.474e-05/1.019, allocations: 31.23 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.531e-05/1.019, allocations: 52.92 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/1.019, allocations: 97.98 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/1.019, allocations: 27.23 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.442e-05/1.019, allocations: 84.27 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/1.019, allocations: 0 / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/1.019, allocations: 11.59 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.357e-05/1.019, allocations: 312.4 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.729e-06/1.019, allocations: 0 / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-06/1.019, allocations: 0.75 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.429e-05/1.019, allocations: 76.08 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.019, allocations: 76.28 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.144e-05/1.019, allocations: 40.94 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/1.019, allocations: 84.28 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/1.019, allocations: 80.59 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.644e-05/1.019, allocations: 156 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.284e-05/1.019, allocations: 80.75 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/1.019, allocations: 152.3 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/1.019, allocations: 84.16 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/1.019, allocations: 77 kB / 1.092 GB, free: 2.164 MB / 0.8575 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 (0): * Single equations (assignments): 0 * 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.481e-05/1.019, allocations: 258.1 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/1.019, allocations: 115.2 kB / 1.092 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/1.019, allocations: 105.8 kB / 1.092 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.258e-05/1.019, allocations: 178.6 kB / 1.093 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-05/1.02, allocations: 110.9 kB / 1.093 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/1.02, allocations: 184.5 kB / 1.093 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.337e-05/1.02, allocations: 182.1 kB / 1.093 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/1.02, allocations: 109.6 kB / 1.093 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/1.02, allocations: 178.7 kB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001079/1.02, allocations: 265.3 kB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001699/1.02, allocations: 380.7 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.579e-05/1.02, allocations: 106.6 kB / 1.094 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.012e-05/1.02, allocations: 78.09 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Backend: time 3.81e-07/1.02, allocations: 5 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003277/1.021, allocations: 81.7 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of SimCode: time 0.000446/1.021, allocations: 0.8972 MB / 1.095 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.002027/1.023, allocations: 185.7 kB / 1.095 GB, free: 14.79 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches