Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 106.4 kB / 16.41 MB, free: 5.977 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.001098/0.001098, allocations: 186 kB / 17.34 MB, free: 5.586 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.09 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.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9069/0.9084, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002298/0.9107, allocations: 0.6555 MB / 1.089 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.9124, allocations: 1.193 MB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.9124, allocations: 0.9375 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.949e-05/0.9125, allocations: 3.938 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.196e-05/0.9126, allocations: 11.97 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007048/0.9133, allocations: 217.3 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.9136, allocations: 186.9 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.9137, allocations: 11.5 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.9139, allocations: 67.28 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.914, allocations: 61.19 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.9141, allocations: 14.56 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.525e-05/0.9142, allocations: 29.78 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.9142, allocations: 16.34 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.9143, allocations: 58.52 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.9147, allocations: 150.1 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.9147, allocations: 1.516 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9147, allocations: 3.938 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.9147, allocations: 0 / 1.091 GB, free: 3.895 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006111/0.9153, allocations: 429.4 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.9154, allocations: 9 kB / 1.092 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.9155, allocations: 13.08 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.9156, allocations: 168.3 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.9157, allocations: 9.469 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.9157, allocations: 14.36 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.9159, allocations: 45.31 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.9159, allocations: 192 / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.9159, allocations: 5.734 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.9159, allocations: 4.906 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.828e-05/0.916, allocations: 21.34 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.9165, allocations: 346 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.571e-05/0.9167, allocations: 46.53 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.9167, allocations: 12.97 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.9167, allocations: 0.75 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.9169, allocations: 89.47 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.9169, allocations: 0 / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003106/0.9172, allocations: 104.1 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.9173, allocations: 54.36 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.9174, allocations: 119.8 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.9174, allocations: 29.14 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.9175, allocations: 95.86 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.9175, allocations: 14.48 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.9176, allocations: 52.92 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.9177, allocations: 319.3 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.9179, allocations: 63.16 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.9181, allocations: 101.2 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.9183, allocations: 155.2 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.9183, allocations: 0 / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005263/0.9188, allocations: 261.6 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/0.9189, allocations: 69.5 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9189, allocations: 1.375 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.9189, allocations: 0.75 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.82e-05/0.919, allocations: 12.11 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.919, allocations: 1.719 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.9194, allocations: 59.73 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.9194, allocations: 12.41 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.999e-05/0.9195, allocations: 123.1 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.9196, allocations: 2.938 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.9196, allocations: 11.2 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9196, allocations: 0.7812 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9196, allocations: 0.8125 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.9196, allocations: 4.781 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.9198, allocations: 179.6 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9198, allocations: 4 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-06/0.9198, allocations: 2.234 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9198, allocations: 0.7812 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.9198, allocations: 5.922 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.9198, allocations: 0.8125 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9198, allocations: 4.453 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.92, allocations: 115.2 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.9201, allocations: 87.36 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.9201, allocations: 10.25 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.9201, allocations: 1.484 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.9202, allocations: 5.656 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.9202, allocations: 7.609 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.626e-05/0.9203, allocations: 89.89 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9203, allocations: 0 / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002542/0.9205, allocations: 27.52 kB / 1.095 GB, free: 0.9844 MB / 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001831/0.9207, allocations: 109.7 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003693/0.9211, allocations: 248.6 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9211, allocations: 0 / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.526e-05/0.9212, allocations: 28 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.9214, allocations: 12.59 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.9218, allocations: 185.5 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.922, allocations: 0.6899 MB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.922, allocations: 11.95 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.922, allocations: 0.8438 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of Templates: time 0.004622/0.9267, allocations: 1.384 MB / 1.097 GB, free: 15.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches