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.00142/0.00142, allocations: 113.1 kB / 15.99 MB, free: 6.348 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.001519/0.001519, allocations: 195.5 kB / 16.91 MB, free: 6.188 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.234/2.234, allocations: 390.2 MB / 0.665 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 66.64 kB / 0.8127 GB, free: 33.22 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002428/0.3086, allocations: 0.7262 MB / 0.9505 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3104, allocations: 1.191 MB / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.3105, allocations: 0 / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.3106, allocations: 4 kB / 0.9517 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.135e-05/0.3107, allocations: 3.938 kB / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.3115, allocations: 203.2 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.3118, allocations: 183.7 kB / 0.952 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3119, allocations: 11.98 kB / 0.952 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.312, allocations: 71.83 kB / 0.9521 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.3121, allocations: 47.86 kB / 0.9522 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.3122, allocations: 16 kB / 0.9522 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.3123, allocations: 27.98 kB / 0.9522 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.3123, allocations: 8 kB / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.061e-05/0.3124, allocations: 59.81 kB / 0.9523 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.3126, allocations: 103.8 kB / 0.9524 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3126, allocations: 7.984 kB / 0.9524 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3126, allocations: 3.938 kB / 0.9524 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3126, allocations: 0 / 0.9524 GB, free: 6.516 MB / 0.7325 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.0006892/0.3133, allocations: 438.9 kB / 0.9528 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3133, allocations: 8.031 kB / 0.9528 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.3134, allocations: 12.84 kB / 0.9528 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3136, allocations: 168.4 kB / 0.953 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3136, allocations: 8.375 kB / 0.953 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3136, allocations: 8.375 kB / 0.953 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.3138, allocations: 54.17 kB / 0.953 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3138, allocations: 192 / 0.953 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3138, allocations: 11.94 kB / 0.9531 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3138, allocations: 0 / 0.9531 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.3139, allocations: 12 kB / 0.9531 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.3144, allocations: 352.6 kB / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.518e-05/0.3145, allocations: 46.44 kB / 0.9534 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.669e-05/0.3145, allocations: 12.86 kB / 0.9535 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.3145, allocations: 4 kB / 0.9535 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.3148, allocations: 75.47 kB / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.3148, allocations: 0 / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002607/0.315, allocations: 113.5 kB / 0.9536 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.3151, allocations: 55.41 kB / 0.9537 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3152, allocations: 117.8 kB / 0.9538 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.3152, allocations: 29.7 kB / 0.9538 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.3153, allocations: 88.14 kB / 0.9539 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.3154, allocations: 19.8 kB / 0.9539 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3155, allocations: 45.69 kB / 0.954 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3156, allocations: 318.8 kB / 0.9543 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3158, allocations: 59.95 kB / 0.9543 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.3159, allocations: 96.64 kB / 0.9544 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.3161, allocations: 163.6 kB / 0.9546 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3161, allocations: 0 / 0.9546 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004458/0.3166, allocations: 264.8 kB / 0.9548 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.3167, allocations: 67.39 kB / 0.9549 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3167, allocations: 0 / 0.9549 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3167, allocations: 4 kB / 0.9549 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.551e-05/0.3167, allocations: 4 kB / 0.9549 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3167, allocations: 4 kB / 0.9549 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.3171, allocations: 48.12 kB / 0.955 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.3172, allocations: 19.98 kB / 0.955 GB, free: 3.535 MB / 0.7325 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.0001119/0.3173, allocations: 131.7 kB / 0.9551 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.3173, allocations: 19.81 kB / 0.9551 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.3173, allocations: 4.375 kB / 0.9551 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3174, allocations: 4 kB / 0.9551 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3174, allocations: 0 / 0.9551 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3174, allocations: 0 / 0.9551 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.3175, allocations: 185.6 kB / 0.9553 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3175, allocations: 4 kB / 0.9553 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.078e-05/0.3176, allocations: 0 / 0.9553 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3176, allocations: 3.938 kB / 0.9553 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.3176, allocations: 0 / 0.9553 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3176, allocations: 4 kB / 0.9553 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3176, allocations: 0 / 0.9553 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.3178, allocations: 109.3 kB / 0.9554 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.3178, allocations: 81.11 kB / 0.9555 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3178, allocations: 3.938 kB / 0.9555 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.3179, allocations: 4 kB / 0.9555 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3179, allocations: 11.92 kB / 0.9555 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.3179, allocations: 8 kB / 0.9555 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.291e-05/0.318, allocations: 91.27 kB / 0.9556 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.318, allocations: 0 / 0.9556 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002484/0.3182, allocations: 31.91 kB / 0.9557 GB, free: 2.758 MB / 0.7325 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.0001786/0.3184, allocations: 103.2 kB / 0.9557 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.3188, allocations: 258.7 kB / 0.956 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3188, allocations: 0 / 0.956 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.3189, allocations: 27.94 kB / 0.956 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.3191, allocations: 15.98 kB / 0.956 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.3195, allocations: 196.8 kB / 0.9562 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3198, allocations: 0.6922 MB / 0.9569 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.3198, allocations: 11.44 kB / 0.9569 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3198, allocations: 0 / 0.9569 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of Templates: time 0.003371/0.3232, allocations: 1.376 MB / 0.9583 GB, free: 4 kB / 0.7325 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