Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 108 kB / 15.61 MB, free: 152 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.001355/0.001355, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.426/2.426, allocations: 390.2 MB / 0.6646 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8043, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002419/0.8068, allocations: 0.8374 MB / 0.9504 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.8091, allocations: 1.475 MB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.8092, allocations: 1.594 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.8094, allocations: 17.17 kB / 0.9519 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.06e-05/0.8095, allocations: 34.33 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.811, allocations: 0.512 MB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007722/0.8117, allocations: 0.498 MB / 0.9529 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.812, allocations: 36.2 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.8123, allocations: 179.4 kB / 0.9531 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.8126, allocations: 143.8 kB / 0.9532 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.8128, allocations: 40.84 kB / 0.9533 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.813, allocations: 58.67 kB / 0.9533 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.8131, allocations: 52.02 kB / 0.9534 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.8134, allocations: 157.2 kB / 0.9535 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.8139, allocations: 410.1 kB / 0.9539 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8139, allocations: 1.438 kB / 0.9539 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8139, allocations: 0 / 0.9539 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.8139, allocations: 0 / 0.9539 GB, free: 5.961 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008667/0.8148, allocations: 0.6427 MB / 0.9545 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.8148, allocations: 8.625 kB / 0.9546 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.815, allocations: 29.47 kB / 0.9546 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.8153, allocations: 262.4 kB / 0.9548 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.8154, allocations: 24.84 kB / 0.9549 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.8155, allocations: 35.52 kB / 0.9549 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.8158, allocations: 152.3 kB / 0.955 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.8158, allocations: 192 / 0.955 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.8158, allocations: 5.875 kB / 0.955 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.8158, allocations: 6.031 kB / 0.955 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.816, allocations: 86.09 kB / 0.9551 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008984/0.8169, allocations: 0.7128 MB / 0.9558 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.8171, allocations: 170.2 kB / 0.956 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.8172, allocations: 46.36 kB / 0.956 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.8172, allocations: 1.438 kB / 0.956 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.8175, allocations: 160 kB / 0.9562 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.8175, allocations: 0 / 0.9562 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004889/0.818, allocations: 240.5 kB / 0.9564 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.818, allocations: 66.05 kB / 0.9565 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.8182, allocations: 187.5 kB / 0.9567 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.8182, allocations: 38.39 kB / 0.9567 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.8183, allocations: 128 kB / 0.9568 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.8184, allocations: 38.73 kB / 0.9569 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.8186, allocations: 113.5 kB / 0.957 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.8186, allocations: 326.8 kB / 0.9573 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.8189, allocations: 157.7 kB / 0.9574 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.8193, allocations: 237 kB / 0.9577 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.8197, allocations: 408.9 kB / 0.958 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8197, allocations: 0.8438 kB / 0.958 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001024/0.8207, allocations: 0.6194 MB / 0.9586 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.8209, allocations: 165.1 kB / 0.9588 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.8209, allocations: 7.219 kB / 0.9588 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.8209, allocations: 7.375 kB / 0.9588 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.125e-05/0.821, allocations: 14.23 kB / 0.9588 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.821, allocations: 3.281 kB / 0.9588 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/0.8219, allocations: 148.1 kB / 0.959 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/0.822, allocations: 34.09 kB / 0.959 GB, free: 1.754 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001979/0.8222, allocations: 156 kB / 0.9592 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.8222, allocations: 15.41 kB / 0.9592 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.8223, allocations: 20.94 kB / 0.9592 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8223, allocations: 6.031 kB / 0.9592 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.8223, allocations: 0 / 0.9592 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.8223, allocations: 9.078 kB / 0.9592 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.8228, allocations: 0.512 MB / 0.9597 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8229, allocations: 0 / 0.9597 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.8229, allocations: 3.188 kB / 0.9597 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.8229, allocations: 1.031 kB / 0.9597 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.8229, allocations: 6.172 kB / 0.9597 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8229, allocations: 1.719 kB / 0.9597 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8229, allocations: 0 / 0.9597 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.8232, allocations: 288.9 kB / 0.96 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.8232, allocations: 93.56 kB / 0.9601 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.8233, allocations: 6.219 kB / 0.9601 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.8233, allocations: 0.75 kB / 0.9601 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.8234, allocations: 28.58 kB / 0.9601 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.8234, allocations: 6.125 kB / 0.9601 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.305e-05/0.8235, allocations: 118.5 kB / 0.9602 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8235, allocations: 4 kB / 0.9602 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003973/0.8239, allocations: 85.33 kB / 0.9603 GB, free: 0.6953 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001724/0.8241, allocations: 110.1 kB / 0.9604 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007445/0.8248, allocations: 0.6271 MB / 0.961 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8249, allocations: 0 / 0.961 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.825, allocations: 82.38 kB / 0.9611 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.8254, allocations: 53.05 kB / 0.9612 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/0.8261, allocations: 329.4 kB / 0.9615 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.8264, allocations: 0.7323 MB / 0.9622 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.746e-05/0.8265, allocations: 20.58 kB / 0.9622 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.8266, allocations: 17.56 kB / 0.9622 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8266, allocations: 0 / 0.9622 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.01021/0.8368, allocations: 4.558 MB / 0.9667 GB, free: 12.76 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches