Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.616/1.616, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.902/2.902, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003145/0.003145, allocations: 67.89 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.8858, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.003027/0.8888, allocations: 0.6987 MB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.891, allocations: 1.272 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.371e-05/0.8911, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.52e-05/0.8912, allocations: 3.938 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.8913, allocations: 15.84 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.8924, allocations: 311.5 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004686/0.8929, allocations: 275.5 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.8931, allocations: 24.16 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.8933, allocations: 99.86 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.8935, allocations: 71.78 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.487e-05/0.8935, allocations: 24 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.8937, allocations: 39.97 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.8937, allocations: 11.94 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.8939, allocations: 87.78 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.8943, allocations: 213.4 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8943, allocations: 3.938 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.428e-06/0.8943, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.8943, allocations: 7.938 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009027/0.8952, allocations: 0.4885 MB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.8953, allocations: 8.031 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.8954, allocations: 16.84 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.8956, allocations: 168.3 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.8957, allocations: 12.3 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.64e-05/0.8957, allocations: 20.38 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.8959, allocations: 58.22 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.8959, allocations: 3.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.896, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.896, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.337e-05/0.896, allocations: 19.92 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.8968, allocations: 416.5 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.8969, allocations: 26.58 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.897, allocations: 24.94 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.897, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.8973, allocations: 99.28 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.854e-06/0.8973, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003806/0.8977, allocations: 137.5 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.8978, allocations: 59.39 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.8979, allocations: 139.2 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.898, allocations: 33.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.8981, allocations: 104.1 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.8981, allocations: 15.8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.8982, allocations: 65.67 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.8984, allocations: 326.8 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.8986, allocations: 88.33 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.8988, allocations: 145.9 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.8991, allocations: 223 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8991, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006248/0.8998, allocations: 378.3 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.8999, allocations: 101.1 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8999, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.8999, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.277e-05/0.9, allocations: 0 / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.9, allocations: 7.984 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.9005, allocations: 91.94 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.9006, allocations: 15.98 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001501/0.9008, allocations: 137.7 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.9008, allocations: 7.906 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.9008, allocations: 16.38 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.9008, allocations: 3.938 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.9008, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9008, allocations: 0 / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.901, allocations: 193.5 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9011, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-06/0.9011, allocations: 4 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9011, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.9011, allocations: 8 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9011, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9011, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.9013, allocations: 140.9 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.9014, allocations: 85.02 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.9014, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.636e-05/0.9014, allocations: 7.984 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.9015, allocations: 8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.9015, allocations: 7.984 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.125e-05/0.9016, allocations: 95.27 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.024e-06/0.9016, allocations: 4.094 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002632/0.9019, allocations: 47.88 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001864/0.9021, allocations: 109.2 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.9026, allocations: 370 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9026, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.815e-05/0.9027, allocations: 39.98 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.903, allocations: 29.91 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.9035, allocations: 190.8 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.9038, allocations: 0.6963 MB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.9039, allocations: 8.438 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.9039, allocations: 11.44 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.9039, allocations: 0 / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of Templates: time 0.006305/0.9102, allocations: 2.621 MB / 1.028 GB, free: 6.797 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches