Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001482/0.001482, allocations: 105.6 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.001511/0.001511, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.561/2.561, allocations: 469.8 MB / 0.7427 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 64.02 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3104, allocations: 159.2 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002419/0.3129, allocations: 0.7014 MB / 1.065 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3147, allocations: 1.198 MB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.797e-05/0.3148, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.19e-05/0.3149, allocations: 3.938 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.331e-05/0.3149, allocations: 11.92 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.3156, allocations: 206.1 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.3158, allocations: 187.6 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3159, allocations: 15.98 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.316, allocations: 63.89 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3161, allocations: 47.88 kB / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.3162, allocations: 16 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.821e-05/0.3163, allocations: 23.98 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.3163, allocations: 15.92 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.502e-05/0.3164, allocations: 59.88 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3165, allocations: 107.8 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3166, allocations: 3.938 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3166, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3166, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8419 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.0005598/0.3171, allocations: 435 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3172, allocations: 8.031 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.3172, allocations: 12.84 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3174, allocations: 164.3 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3174, allocations: 4.375 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.3174, allocations: 16.38 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.3176, allocations: 50.23 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3176, allocations: 4.172 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3176, allocations: 3.938 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3176, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.3176, allocations: 15.92 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.3181, allocations: 356.7 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.571e-05/0.3182, allocations: 34.52 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.3183, allocations: 24.94 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.3183, allocations: 0 / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.3185, allocations: 83.3 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.3185, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0002454/0.3187, allocations: 101.6 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3188, allocations: 55.41 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3189, allocations: 121.8 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.3189, allocations: 33.7 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.319, allocations: 92.05 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.319, allocations: 15.83 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.3191, allocations: 49.69 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3193, allocations: 322.8 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3194, allocations: 59.97 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.3196, allocations: 96.25 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.3198, allocations: 151.6 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3198, allocations: 4 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004188/0.3202, allocations: 260.8 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.839e-05/0.3203, allocations: 71.39 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3203, allocations: 0 / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3203, allocations: 4 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.217e-05/0.3203, allocations: 3.938 kB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3203, allocations: 7.984 kB / 1.069 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.3207, allocations: 55.97 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.3208, allocations: 16.45 kB / 1.069 GB, free: 9.48 MB / 0.8419 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.0001159/0.3209, allocations: 127.5 kB / 1.069 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.3209, allocations: 7.938 kB / 1.069 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.3209, allocations: 8.375 kB / 1.069 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3209, allocations: 0 / 1.069 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3209, allocations: 3.938 kB / 1.069 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3209, allocations: 4 kB / 1.069 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.3211, allocations: 177.6 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3211, allocations: 0 / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.3211, allocations: 4 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3211, allocations: 0 / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3211, allocations: 0 / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3212, allocations: 3.938 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3212, allocations: 3.984 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.3213, allocations: 113 kB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.3214, allocations: 93 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3214, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.826e-05/0.3214, allocations: 64 / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.3215, allocations: 12 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3215, allocations: 7.984 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.3215, allocations: 87.28 kB / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3215, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002296/0.3218, allocations: 35.98 kB / 1.07 GB, free: 8.711 MB / 0.8419 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.0001559/0.3219, allocations: 107.2 kB / 1.07 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.3223, allocations: 250.6 kB / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3223, allocations: 0 / 1.07 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.3224, allocations: 23.98 kB / 1.07 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.3226, allocations: 18.23 kB / 1.07 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.3229, allocations: 196.7 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3233, allocations: 0.6846 MB / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.3233, allocations: 19.36 kB / 1.071 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3233, allocations: 288 / 1.071 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of Templates: time 0.003055/0.3263, allocations: 1.372 MB / 1.073 GB, free: 5.977 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches