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.001082/0.001082, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008888/0.008889, allocations: 171.6 kB / 16.27 MB, free: 6.328 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.582/1.582, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.857/2.857, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003876, allocations: 12 kB / 0.8728 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8043, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0009366/0.8053, allocations: 444.7 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.8071, allocations: 1.292 MB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.8072, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.8072, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.8073, allocations: 11.86 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008365/0.8081, allocations: 292.8 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.8084, allocations: 231.6 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.8085, allocations: 16.17 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.8086, allocations: 83.8 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.8087, allocations: 67.78 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.8088, allocations: 12 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.8089, allocations: 31.97 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.8089, allocations: 15.92 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.8091, allocations: 101.5 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.8093, allocations: 209.3 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8093, allocations: 4 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8093, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.8093, allocations: 0 / 1.026 GB, free: 13.1 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.000524/0.8099, allocations: 452.4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.8099, allocations: 12.03 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.81, allocations: 16.78 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.8102, allocations: 172.2 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.8102, allocations: 16.36 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.8103, allocations: 16.38 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.8105, allocations: 62.17 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.8105, allocations: 7.922 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.8105, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.8106, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.826e-05/0.8106, allocations: 23.98 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.8114, allocations: 420.5 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.8114, allocations: 34.52 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.8115, allocations: 20.94 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.8115, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.8117, allocations: 95.34 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.8117, allocations: 7.938 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003772/0.8121, allocations: 129.6 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.8122, allocations: 63.33 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.8123, allocations: 137.7 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.8124, allocations: 33.7 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.8125, allocations: 92.14 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.8126, allocations: 27.77 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.8126, allocations: 29.72 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.8128, allocations: 323.1 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.813, allocations: 95.94 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.8132, allocations: 131.7 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.8135, allocations: 234.8 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.8135, allocations: 3.938 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006499/0.8142, allocations: 378.5 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/0.8143, allocations: 97.09 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.8143, allocations: 0 / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.8143, allocations: 8.188 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.091e-05/0.8144, allocations: 7.938 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.8144, allocations: 0 / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.815, allocations: 122.4 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.8151, allocations: 19.98 kB / 1.029 GB, free: 9.543 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.0001637/0.8152, allocations: 135.4 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.8153, allocations: 11.84 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.8153, allocations: 12.36 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8153, allocations: 0 / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8153, allocations: 0 / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.8154, allocations: 4 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.8156, allocations: 189.6 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8156, allocations: 3.984 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.8156, allocations: 7.938 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8156, allocations: 4 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.8156, allocations: 4 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8156, allocations: 0 / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8156, allocations: 0 / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.8158, allocations: 140.9 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.8159, allocations: 81.02 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.8159, allocations: 4 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.607e-05/0.8159, allocations: 8 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.816, allocations: 11.98 kB / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.816, allocations: 4 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.8161, allocations: 103.2 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8161, allocations: 0 / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002549/0.8163, allocations: 40 kB / 1.03 GB, free: 8.699 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.000179/0.8165, allocations: 109.3 kB / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.817, allocations: 370.2 kB / 1.03 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.817, allocations: 4.125 kB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.8171, allocations: 43.92 kB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.8174, allocations: 23.97 kB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.8178, allocations: 212.6 kB / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.8181, allocations: 0.6965 MB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.8181, allocations: 4.438 kB / 1.031 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.8181, allocations: 11.44 kB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.8181, allocations: 0 / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of Templates: time 0.006003/0.8241, allocations: 2.492 MB / 1.033 GB, free: 4.68 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=480 -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