Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001351/0.001351, allocations: 92.16 kB / 16.02 MB, free: 80 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.00191/0.001911, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.093/3.093, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004013, allocations: 15.12 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.000802/0.3147, allocations: 385.7 kB / 1.06 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3165, allocations: 1.202 MB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.3166, allocations: 4 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.3166, allocations: 7.875 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.3167, allocations: 7.922 kB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.3174, allocations: 196.1 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.3176, allocations: 159.6 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3177, allocations: 12 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.3178, allocations: 55.89 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3179, allocations: 47.86 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.318, allocations: 8 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.3181, allocations: 23.98 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.3181, allocations: 4 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.684e-05/0.3182, allocations: 81.45 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3184, allocations: 103.8 kB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3184, allocations: 0 / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3184, allocations: 0 / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3184, allocations: 4 kB / 1.062 GB, free: 2.668 MB / 0.8106 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.0004553/0.3189, allocations: 411 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3189, allocations: 15.97 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.319, allocations: 4.938 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.3191, allocations: 168.3 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3191, allocations: 4.375 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.3192, allocations: 16.36 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3193, allocations: 50.19 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3193, allocations: 192 / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.3193, allocations: 3.938 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3194, allocations: 4 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.3194, allocations: 19.92 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.3199, allocations: 352.8 kB / 1.063 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.832e-05/0.32, allocations: 30.52 kB / 1.063 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.32, allocations: 20.94 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.32, allocations: 4 kB / 1.063 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.3202, allocations: 91.2 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.3202, allocations: 0 / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002564/0.3205, allocations: 101.7 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.3205, allocations: 51.41 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3206, allocations: 125.7 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.3207, allocations: 37.64 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.3208, allocations: 92.14 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.3208, allocations: 11.81 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3208, allocations: 25.7 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3209, allocations: 318.8 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3211, allocations: 63.95 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3212, allocations: 89.02 kB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.3214, allocations: 163.6 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3214, allocations: 0 / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000439/0.3219, allocations: 260.8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.012e-05/0.322, allocations: 71.39 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.322, allocations: 4.125 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.322, allocations: 4 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.826e-05/0.322, allocations: 3.938 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.322, allocations: 4 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/0.3225, allocations: 78.03 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.3225, allocations: 12 kB / 1.064 GB, free: 15.71 MB / 0.8262 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 0.0001288/0.3227, allocations: 129.7 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.3227, allocations: 4.375 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.3227, allocations: 12.38 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3227, allocations: 4 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3227, allocations: 8 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3228, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.3229, allocations: 181.5 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.3229, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.3229, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3229, allocations: 7.984 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.323, allocations: 4 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.323, allocations: 3.938 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.323, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.3231, allocations: 113 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.3232, allocations: 77.11 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3232, allocations: 8 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.3232, allocations: 3.984 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3233, allocations: 4 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.3233, allocations: 0 / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.3234, allocations: 91.27 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3234, allocations: 0 / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002491/0.3236, allocations: 40 kB / 1.065 GB, free: 14.93 MB / 0.8262 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.0001942/0.3238, allocations: 111.2 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.3242, allocations: 246.6 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3242, allocations: 0 / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/0.3242, allocations: 24 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.3245, allocations: 17.44 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.3249, allocations: 200.9 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3252, allocations: 0.6887 MB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.3252, allocations: 11.44 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3252, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.003264/0.3285, allocations: 1.37 MB / 1.067 GB, free: 12.19 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches