Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 116.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.001052/0.001052, allocations: 194.4 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.369/1.369, 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 9.1.2-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 62.98 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2835, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00209/0.2857, allocations: 0.655 MB / 0.9518 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.2872, allocations: 1.197 MB / 0.953 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.2872, allocations: 0 / 0.953 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.2873, allocations: 3.938 kB / 0.953 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.2874, allocations: 11.86 kB / 0.953 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006082/0.288, allocations: 210.2 kB / 0.9532 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.2882, allocations: 191.7 kB / 0.9534 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.885e-05/0.2883, allocations: 11.98 kB / 0.9534 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.2884, allocations: 67.89 kB / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2886, allocations: 59.84 kB / 0.9535 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.2886, allocations: 16 kB / 0.9535 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.2887, allocations: 31.92 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.2887, allocations: 15.92 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.136e-05/0.2888, allocations: 51.89 kB / 0.9536 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.289, allocations: 151.6 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.289, allocations: 8 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.289, allocations: 0 / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.289, allocations: 0 / 0.9537 GB, free: 5.406 MB / 0.7325 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.0004764/0.2895, allocations: 434.6 kB / 0.9542 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2895, allocations: 12.03 kB / 0.9542 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.2896, allocations: 12.83 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2897, allocations: 164.4 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.2897, allocations: 4.375 kB / 0.9543 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.2898, allocations: 8.375 kB / 0.9544 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.2899, allocations: 62.17 kB / 0.9544 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2899, allocations: 192 / 0.9544 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2899, allocations: 3.938 kB / 0.9544 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2899, allocations: 0 / 0.9544 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.29, allocations: 12 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.2905, allocations: 356.7 kB / 0.9548 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.2905, allocations: 38.44 kB / 0.9548 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.2906, allocations: 20.86 kB / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.2906, allocations: 0 / 0.9548 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.2908, allocations: 83.44 kB / 0.9549 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2908, allocations: 0 / 0.9549 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0002626/0.291, allocations: 109.4 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.2911, allocations: 55.41 kB / 0.9551 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.2912, allocations: 113.8 kB / 0.9552 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.2912, allocations: 37.7 kB / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.149e-05/0.2913, allocations: 88.12 kB / 0.9553 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.2913, allocations: 15.81 kB / 0.9553 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-05/0.2914, allocations: 49.69 kB / 0.9554 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2915, allocations: 326.7 kB / 0.9557 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2917, allocations: 59.97 kB / 0.9557 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.2918, allocations: 88.27 kB / 0.9558 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.292, allocations: 159.6 kB / 0.956 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.292, allocations: 0 / 0.956 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004126/0.2924, allocations: 264.9 kB / 0.9562 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.2925, allocations: 71.33 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2925, allocations: 4 kB / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2925, allocations: 4.516 kB / 0.9563 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.181e-05/0.2925, allocations: 8 kB / 0.9563 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2926, allocations: 0 / 0.9563 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.2929, allocations: 47.94 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.2929, allocations: 20.05 kB / 0.9564 GB, free: 2.422 MB / 0.7325 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,and1.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.0001123/0.293, allocations: 135.6 kB / 0.9565 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.2931, allocations: 3.906 kB / 0.9565 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.2931, allocations: 16.36 kB / 0.9565 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2931, allocations: 0 / 0.9565 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2931, allocations: 3.938 kB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2931, allocations: 0 / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2933, allocations: 177.6 kB / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2933, allocations: 0 / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.358e-06/0.2933, allocations: 7.984 kB / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2933, allocations: 0 / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2933, allocations: 4 kB / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2933, allocations: 0 / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2933, allocations: 0 / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.2934, allocations: 113 kB / 0.9568 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.2935, allocations: 77.11 kB / 0.9569 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.2935, allocations: 4 kB / 0.9569 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/0.2935, allocations: 8 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.2936, allocations: 7.984 kB / 0.9569 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2936, allocations: 0 / 0.9569 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.2936, allocations: 95.2 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2937, allocations: 0 / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002352/0.2939, allocations: 35.91 kB / 0.957 GB, free: 1.652 MB / 0.7325 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,and1.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.000155/0.2941, allocations: 107.1 kB / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.2944, allocations: 250.7 kB / 0.9574 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2944, allocations: 4 kB / 0.9574 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.2944, allocations: 27.98 kB / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.2947, allocations: 16.27 kB / 0.9574 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.295, allocations: 158.8 kB / 0.9576 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.2952, allocations: 0.6963 MB / 0.9582 GB, free: 320 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.2952, allocations: 7.938 kB / 0.9582 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.2953, allocations: 7.438 kB / 0.9583 GB, free: 304 kB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.2953, allocations: 4 kB / 0.9583 GB, free: 300 kB / 0.7325 GB Notification: Performance of Templates: time 0.004231/0.2995, allocations: 1.833 MB / 0.96 GB, free: 14.48 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches