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.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.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.001231/0.00123, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001368, allocations: 196 kB / 16.79 MB, free: 6.809 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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.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.642/2.642, allocations: 437 MB / 0.7106 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 63.91 kB / 0.8692 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6463, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002261/0.6486, allocations: 0.7761 MB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.6505, allocations: 1.292 MB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.6506, allocations: 11.94 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.6506, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.6508, allocations: 15.84 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008312/0.6516, allocations: 287.6 kB / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.6519, allocations: 223.7 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.652, allocations: 16.16 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.6522, allocations: 95.73 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.6523, allocations: 71.91 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.6524, allocations: 16 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.944e-05/0.6525, allocations: 19.98 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.6525, allocations: 19.92 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.6526, allocations: 83.66 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.6528, allocations: 149.6 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6528, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6528, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.6529, allocations: 0 / 1.02 GB, free: 15.7 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.000675/0.6535, allocations: 496.2 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6536, allocations: 8.031 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.034e-05/0.6537, allocations: 16.84 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.6538, allocations: 176.2 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.6538, allocations: 12.36 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.6539, allocations: 20.38 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.654, allocations: 58.17 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.654, allocations: 3.938 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.6541, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.6541, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.6541, allocations: 23.97 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.6547, allocations: 416.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.531e-05/0.6548, allocations: 34.52 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.6549, allocations: 20.94 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.6549, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.6551, allocations: 107.3 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.6551, allocations: 0 / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003288/0.6554, allocations: 137.5 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.6555, allocations: 59.34 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.6556, allocations: 133.8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.6556, allocations: 29.7 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.6557, allocations: 100 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.6557, allocations: 19.8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.6559, allocations: 65.67 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.656, allocations: 326.8 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.6562, allocations: 87.95 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.6564, allocations: 134 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.6567, allocations: 234.9 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6567, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006171/0.6573, allocations: 384.2 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.6574, allocations: 98.66 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6574, allocations: 384 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6575, allocations: 8.188 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.335e-05/0.6575, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.6575, allocations: 11.92 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.658, allocations: 87.69 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.6581, allocations: 15.98 kB / 1.023 GB, free: 12.1 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.0001258/0.6582, allocations: 137.8 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.6583, allocations: 7.906 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.6583, allocations: 12.38 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6583, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6583, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6583, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.6585, allocations: 193.6 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6585, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.6586, allocations: 11.94 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6586, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.6586, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6586, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6586, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.6588, allocations: 136.9 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.6589, allocations: 85.02 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.6589, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.808e-05/0.6589, allocations: 7.984 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.659, allocations: 12 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.659, allocations: 7.984 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.331e-05/0.659, allocations: 97.09 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.659, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002742/0.6593, allocations: 44 kB / 1.024 GB, free: 11.26 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.0001687/0.6595, allocations: 107.2 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004959/0.66, allocations: 370.3 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.66, allocations: 3.938 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.6601, allocations: 47.91 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.6604, allocations: 27.91 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.6608, allocations: 234.4 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.6611, allocations: 0.6926 MB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.6611, allocations: 11.44 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6611, allocations: 0 / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.00398/0.6651, allocations: 1.874 MB / 1.027 GB, free: 7.824 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=480 -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/jenkins1/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