Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001675/0.001675, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001205/0.001205, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.479/1.479, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 67.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218/1.22, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002187/1.223, allocations: 0.5624 MB / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 4.699e-05/1.223, allocations: 0 / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/1.223, allocations: 0 / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/1.223, allocations: 0 / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/1.223, allocations: 0 / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.74e-05/1.223, allocations: 3.938 kB / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.31e-05/1.223, allocations: 15.92 kB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/1.223, allocations: 0 / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.739e-05/1.223, allocations: 4 kB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.811e-05/1.223, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/1.223, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-06/1.223, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/1.223, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/1.223, allocations: 4 kB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.581e-05/1.223, allocations: 3.938 kB / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.223, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.655e-06/1.223, allocations: 0 / 1.168 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.223, allocations: 4 kB / 1.168 GB, free: 3.23 MB / 0.8887 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.0003674/1.224, allocations: 319.5 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.224, allocations: 8.922 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/1.224, allocations: 0.9375 kB / 1.168 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/1.224, allocations: 160.4 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/1.224, allocations: 4.375 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/1.224, allocations: 384 / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.69e-05/1.224, allocations: 30.25 kB / 1.168 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/1.224, allocations: 4.188 kB / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.224, allocations: 7.875 kB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.224, allocations: 0 / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/1.224, allocations: 4 kB / 1.168 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/1.225, allocations: 383.5 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/1.225, allocations: 169.1 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/1.225, allocations: 88.08 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/1.225, allocations: 75.28 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/1.225, allocations: 109.8 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/1.225, allocations: 0 / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.95e-05/1.225, allocations: 29.7 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/1.225, allocations: 51.41 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/1.225, allocations: 97.86 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/1.225, allocations: 25.7 kB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/1.225, allocations: 84.12 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/1.225, allocations: 3.938 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/1.225, allocations: 13.72 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.225, allocations: 310.8 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-06/1.225, allocations: 0 / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/1.225, allocations: 7.938 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/1.225, allocations: 79.41 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/1.225, allocations: 75.28 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.431e-05/1.225, allocations: 32.09 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/1.225, allocations: 83.28 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/1.225, allocations: 75.28 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.333e-05/1.226, allocations: 166.5 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.35e-05/1.226, allocations: 79.28 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.963e-05/1.226, allocations: 166.5 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/1.226, allocations: 75.28 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/1.226, allocations: 75.28 kB / 1.171 GB, free: 168 kB / 0.8887 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 0.0001328/1.226, allocations: 264.3 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/1.226, allocations: 104.9 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/1.226, allocations: 112.1 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-05/1.226, allocations: 184.2 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.095e-05/1.226, allocations: 105 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/1.226, allocations: 178.1 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/1.226, allocations: 184.2 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/1.226, allocations: 101 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/1.226, allocations: 188.2 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.712e-05/1.227, allocations: 259.5 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000185/1.227, allocations: 379 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.845e-05/1.227, allocations: 109.3 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.344e-05/1.227, allocations: 87.28 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of Backend: time 4.11e-07/1.227, allocations: 3.938 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003791/1.227, allocations: 76.91 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005719/1.228, allocations: 0.9007 MB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.002235/1.23, allocations: 187 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches