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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.307/2.307, allocations: 390.3 MB / 402.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 172.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 221.3 MB / 0.7915 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008809/0.0008808, allocations: 99.95 kB / 0.9318 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.473e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3285, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9652/1.294, allocations: 150.1 MB / 1.365 GB, free: 3.914 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/1.294, allocations: 72.58 kB / 1.365 GB, free: 3.875 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009243/1.303, allocations: 2.924 MB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.503e-06/1.303, allocations: 0 / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.626e-06/1.303, allocations: 0 / 1.368 GB, free: 1.332 MB / 0.823 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.0005588/1.304, allocations: 408.4 kB / 1.369 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/1.304, allocations: 8.031 kB / 1.369 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.717e-05/1.304, allocations: 15.89 kB / 1.369 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/1.304, allocations: 167 kB / 1.369 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/1.304, allocations: 8 kB / 1.369 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-05/1.304, allocations: 8 kB / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/1.305, allocations: 52.62 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.305, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/1.305, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.305, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.945e-05/1.305, allocations: 15.3 kB / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/1.305, allocations: 353.1 kB / 1.369 GB, free: 232 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.63e-05/1.305, allocations: 41 kB / 1.369 GB, free: 188 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/1.305, allocations: 16.36 kB / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/1.305, allocations: 0 / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/1.306, allocations: 86.45 kB / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/1.306, allocations: 0 / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002332/1.306, allocations: 84.78 kB / 1.369 GB, free: 0 / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.306, allocations: 63.41 kB / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/1.306, allocations: 108.3 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/1.306, allocations: 29.7 kB / 1.37 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/1.306, allocations: 95.62 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/1.306, allocations: 15.23 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/1.306, allocations: 4 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.306, allocations: 322.1 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/1.307, allocations: 52 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/1.307, allocations: 92.59 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/1.307, allocations: 116.7 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.307, allocations: 0 / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004514/1.307, allocations: 258.7 kB / 1.371 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/1.307, allocations: 67.42 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.307, allocations: 4 kB / 1.371 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.307, allocations: 3.938 kB / 1.371 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.579e-05/1.308, allocations: 4 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/1.308, allocations: 64 / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/1.308, allocations: 83.92 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/1.308, allocations: 15.73 kB / 1.371 GB, free: 14.71 MB / 0.8386 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.308, allocations: 116.8 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/1.308, allocations: 7.906 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/1.308, allocations: 12.61 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/1.308, allocations: 0 / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.308, allocations: 0 / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.308, allocations: 0 / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/1.308, allocations: 175.5 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.308, allocations: 0 / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/1.308, allocations: 3.984 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/1.308, allocations: 4 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/1.308, allocations: 3.938 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.308, allocations: 0 / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.308, allocations: 4.078 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/1.309, allocations: 116.3 kB / 1.371 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/1.309, allocations: 81.02 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/1.309, allocations: 4 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/1.309, allocations: 3.938 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/1.309, allocations: 11.42 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/1.309, allocations: 0 / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.586e-05/1.309, allocations: 95.03 kB / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.71e-07/1.309, allocations: 0 / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002535/1.309, allocations: 39.61 kB / 1.371 GB, free: 13.99 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002056/1.309, allocations: 104.3 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003673/1.31, allocations: 243 kB / 1.372 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.31, allocations: 0 / 1.372 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/1.31, allocations: 23.75 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/1.31, allocations: 29.41 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/1.31, allocations: 99.77 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/1.311, allocations: 0.6887 MB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.841e-05/1.311, allocations: 11.72 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/1.311, allocations: 11.44 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.311, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.004619/1.315, allocations: 1.666 MB / 1.374 GB, free: 11.14 MB / 0.8386 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches