Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001805, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002156/0.002156, allocations: 195.6 kB / 16.14 MB, free: 6.633 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.599/1.599, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.888/2.888, allocations: 437 MB / 0.71 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 71.89 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9266/0.9287, allocations: 151.6 MB / 1.017 GB, free: 2.977 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002968/0.9318, allocations: 0.7752 MB / 1.017 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002653/0.9344, allocations: 1.296 MB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.9345, allocations: 3.938 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.104e-05/0.9346, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.9347, allocations: 11.86 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.9358, allocations: 292 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.9362, allocations: 223.5 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.9363, allocations: 20.16 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.9365, allocations: 95.78 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.9367, allocations: 71.78 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.9368, allocations: 12 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.9369, allocations: 27.98 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.9369, allocations: 15.92 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.9371, allocations: 71.81 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.9375, allocations: 209.6 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9375, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9375, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.9376, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008997/0.9385, allocations: 0.494 MB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.9385, allocations: 8.031 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.9387, allocations: 24.84 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.9389, allocations: 168.3 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.9389, allocations: 8.312 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.939, allocations: 20.36 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.9392, allocations: 58.17 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.9392, allocations: 3.938 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.9392, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.9392, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.9393, allocations: 23.98 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.9401, allocations: 420.5 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.537e-05/0.9403, allocations: 38.48 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.9403, allocations: 20.94 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.9404, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/0.9407, allocations: 107.3 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.9407, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004561/0.9412, allocations: 133.5 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/0.9413, allocations: 63.33 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.9415, allocations: 136.6 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.9415, allocations: 33.7 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.9416, allocations: 96.05 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.9417, allocations: 23.86 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.9419, allocations: 65.67 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.9421, allocations: 326.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.9424, allocations: 87.94 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.9428, allocations: 134 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/0.9433, allocations: 236.1 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9433, allocations: 384 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009045/0.9442, allocations: 378.6 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.9443, allocations: 97.09 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.9443, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.9444, allocations: 7.938 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-05/0.9444, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.9444, allocations: 7.938 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/0.9451, allocations: 87.77 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.9452, allocations: 19.98 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001762/0.9454, allocations: 126.3 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.9454, allocations: 11.89 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.9455, allocations: 12.38 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.9455, allocations: 3.938 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.9455, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.9455, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.9458, allocations: 201.5 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9458, allocations: 0 / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.9458, allocations: 7.938 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9458, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.9459, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.9459, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9459, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.9462, allocations: 136.9 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.9463, allocations: 93.02 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.9463, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.9463, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.9464, allocations: 11.98 kB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.9464, allocations: 7.984 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.447e-05/0.9466, allocations: 95.27 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9466, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004924/0.9471, allocations: 44 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002561/0.9473, allocations: 113.6 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007649/0.9481, allocations: 370 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9481, allocations: 0 / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-05/0.9482, allocations: 31.98 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.9487, allocations: 27.91 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.9493, allocations: 210 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.9498, allocations: 0.6965 MB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.271e-05/0.9499, allocations: 8.438 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.9499, allocations: 15.44 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of SimCode: time 6.31e-07/0.9499, allocations: 0 / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of Templates: time 0.00896/0.9589, allocations: 2.498 MB / 1.027 GB, free: 7.398 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches