Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_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_10_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.001095/0.001095, allocations: 114.9 kB / 16.37 MB, free: 6.012 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.001228/0.001228, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.77 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3808, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.003475/0.3843, allocations: 0.6638 MB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.3871, allocations: 1.192 MB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.3872, allocations: 8 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.3873, allocations: 3.938 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.3874, allocations: 3.938 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3886, allocations: 217.5 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.389, allocations: 187.7 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3891, allocations: 12 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.3893, allocations: 67.88 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.3895, allocations: 59.8 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/0.3896, allocations: 16 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3897, allocations: 27.98 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.3898, allocations: 19.91 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.3899, allocations: 51.83 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.3903, allocations: 151.7 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3903, allocations: 0 / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3903, allocations: 0 / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3903, allocations: 4 kB / 1.021 GB, free: 7.176 MB / 0.795 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.0007354/0.3911, allocations: 438.6 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.3911, allocations: 12.56 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.004e-05/0.3912, allocations: 12.84 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.3916, allocations: 164.4 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.3916, allocations: 4.375 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.3917, allocations: 12.38 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3918, allocations: 54.23 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3918, allocations: 192 / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3919, allocations: 7.938 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.3919, allocations: 0 / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.92e-05/0.392, allocations: 12 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.3927, allocations: 356.6 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.3928, allocations: 38.5 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.3929, allocations: 12.86 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.3929, allocations: 7.938 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.3932, allocations: 91.38 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.3932, allocations: 0 / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004161/0.3936, allocations: 97.58 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.3937, allocations: 55.41 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.3939, allocations: 117.8 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.394, allocations: 33.7 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3941, allocations: 96.12 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.3941, allocations: 15.8 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.3944, allocations: 45.69 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000236/0.3946, allocations: 326.8 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002739/0.3949, allocations: 63.91 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.3952, allocations: 89.12 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.3956, allocations: 155.6 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.3957, allocations: 0 / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007716/0.3965, allocations: 264.8 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/0.3966, allocations: 67.39 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.3966, allocations: 8.125 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.3966, allocations: 0 / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.441e-05/0.3967, allocations: 4 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.3967, allocations: 3.938 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/0.3972, allocations: 51.94 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.3973, allocations: 12.3 kB / 1.024 GB, free: 4.195 MB / 0.795 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.0001823/0.3975, allocations: 129.7 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.3975, allocations: 11.89 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.3976, allocations: 8.375 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.3976, allocations: 4 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.3976, allocations: 0 / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3976, allocations: 0 / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3979, allocations: 178 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.398, allocations: 0 / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.398, allocations: 0 / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.398, allocations: 3.984 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.398, allocations: 8 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.398, allocations: 4 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3981, allocations: 7.938 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3983, allocations: 124.9 kB / 1.024 GB, free: 3.645 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.3984, allocations: 81.02 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3985, allocations: 4 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.3985, allocations: 4 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.3986, allocations: 7.984 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.3986, allocations: 4 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001143/0.3987, allocations: 91.27 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3987, allocations: 0 / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004279/0.3992, allocations: 36 kB / 1.025 GB, free: 3.402 MB / 0.795 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.0002713/0.3995, allocations: 103.2 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006248/0.4001, allocations: 246.6 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4001, allocations: 4.25 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/0.4002, allocations: 23.94 kB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.4006, allocations: 19.92 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.4013, allocations: 156.8 kB / 1.025 GB, free: 2.801 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.4018, allocations: 0.6846 MB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.466e-05/0.4018, allocations: 8 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.4019, allocations: 11.44 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.4019, allocations: 0 / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of Templates: time 0.007999/0.4099, allocations: 1.832 MB / 1.028 GB, free: 272 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches