Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_9_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_9_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.001552/0.001552, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001541/0.001541, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.06 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.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 59.91 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.7999, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001718/0.8017, allocations: 0.7053 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.8032, allocations: 1.273 MB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.8033, allocations: 1.219 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.8033, allocations: 4.688 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.746e-05/0.8034, allocations: 15.88 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008068/0.8042, allocations: 314.2 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.8045, allocations: 279.4 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.8047, allocations: 14.45 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.8048, allocations: 100.9 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.805, allocations: 91.34 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.805, allocations: 26.5 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.8052, allocations: 36.5 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.8052, allocations: 12.11 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.8053, allocations: 86.48 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.8056, allocations: 221.5 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.8057, allocations: 4 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8057, allocations: 0.7812 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.8057, allocations: 0 / 1.092 GB, free: 3.637 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005169/0.8062, allocations: 493 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8062, allocations: 13.88 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.8063, allocations: 15.38 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.34e-05/0.8064, allocations: 177.3 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.8064, allocations: 7.516 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.8065, allocations: 18.23 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.8066, allocations: 56.12 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8066, allocations: 7.875 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.8067, allocations: 1.578 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.8067, allocations: 0.6562 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.8067, allocations: 17.77 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.8073, allocations: 413.3 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.8073, allocations: 34.42 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.8074, allocations: 22.48 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.8074, allocations: 0.9688 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.8076, allocations: 109 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.8076, allocations: 4.875 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0003118/0.8079, allocations: 135.5 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.808, allocations: 58.45 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.8081, allocations: 132.3 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.8081, allocations: 32.56 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.8082, allocations: 101.2 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.8082, allocations: 20.2 kB / 1.094 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.8084, allocations: 63.41 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.8084, allocations: 332.8 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.8086, allocations: 86.58 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.8088, allocations: 140.8 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.8091, allocations: 232.1 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8091, allocations: 0 / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006235/0.8097, allocations: 375.4 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/0.8098, allocations: 102.4 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.8098, allocations: 1.438 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.8098, allocations: 3.516 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.793e-05/0.8099, allocations: 4.141 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.8099, allocations: 2.984 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.8104, allocations: 91.97 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.8105, allocations: 20.97 kB / 1.095 GB, free: 1.059 MB / 0.8575 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.0001017/0.8106, allocations: 132.2 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.8106, allocations: 12.97 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.8106, allocations: 10.69 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8106, allocations: 2.031 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8106, allocations: 0 / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8106, allocations: 1.422 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.8108, allocations: 195.7 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8108, allocations: 0.75 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.8108, allocations: 2.391 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.8108, allocations: 0.8125 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.8108, allocations: 3.344 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.8108, allocations: 4.75 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8109, allocations: 0 / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.811, allocations: 146.1 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.8111, allocations: 88.14 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.8111, allocations: 5.328 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.696e-05/0.8111, allocations: 2.734 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.8112, allocations: 11.14 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.8112, allocations: 4.641 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.8112, allocations: 101.3 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8112, allocations: 0.6562 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002798/0.8115, allocations: 40.31 kB / 1.096 GB, free: 420 kB / 0.8575 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.0001393/0.8117, allocations: 110.6 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004484/0.8121, allocations: 365.8 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8121, allocations: 0.75 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.8122, allocations: 42.05 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.8125, allocations: 27.19 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.8129, allocations: 224.2 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.8132, allocations: 0.6927 MB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.8132, allocations: 14.23 kB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.8132, allocations: 0 / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of Templates: time 0.004693/0.8179, allocations: 1.881 MB / 1.099 GB, free: 14.93 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches