Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007086/0.007086, allocations: 99.67 kB / 15.73 MB, free: 6.008 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.001376/0.001376, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.59/2.59, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 64.05 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.954/0.9555, allocations: 159.1 MB / 1.22 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002743/0.9583, allocations: 0.6159 MB / 1.22 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.96, allocations: 1.116 MB / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.9601, allocations: 0 / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.9602, allocations: 0 / 1.221 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/0.9603, allocations: 3.938 kB / 1.221 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.9608, allocations: 127.1 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.961, allocations: 95.88 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.9611, allocations: 7.984 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.9612, allocations: 31.92 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.9613, allocations: 27.95 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.9613, allocations: 11.94 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.9614, allocations: 23.98 kB / 1.222 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.9615, allocations: 7.984 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.9615, allocations: 35.84 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.9617, allocations: 75.8 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.9617, allocations: 0 / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9618, allocations: 0 / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.9618, allocations: 0 / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005618/0.9623, allocations: 376.8 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.9624, allocations: 8.625 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.9624, allocations: 38.73 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.9625, allocations: 12.89 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.9626, allocations: 164.3 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.9627, allocations: 8.375 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.9627, allocations: 8.312 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.9628, allocations: 34.25 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9628, allocations: 3.938 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.9628, allocations: 4 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9629, allocations: 3.938 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.9629, allocations: 15.97 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.9633, allocations: 288.8 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.234e-05/0.9634, allocations: 18.58 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.9634, allocations: 8.859 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.9634, allocations: 4.062 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.9636, allocations: 63.28 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.9636, allocations: 0 / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0001973/0.9638, allocations: 65.67 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.9639, allocations: 55.41 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.336e-05/0.9639, allocations: 101.9 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.964, allocations: 29.7 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.964, allocations: 92.06 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.9641, allocations: 11.94 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.9641, allocations: 29.7 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.9642, allocations: 314.8 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.9643, allocations: 31.98 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.9644, allocations: 50.55 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.9645, allocations: 76.27 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9645, allocations: 7.875 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002466/0.9648, allocations: 151.3 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.9649, allocations: 37.7 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.9649, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.9649, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.818e-05/0.9649, allocations: 4 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.9649, allocations: 3.984 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.9651, allocations: 23.97 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.9652, allocations: 4 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.779e-05/0.9652, allocations: 125.8 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.9653, allocations: 4 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.9653, allocations: 3.5 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.9653, allocations: 3.984 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9653, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9653, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.9655, allocations: 161.6 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9655, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-06/0.9655, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9655, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.9655, allocations: 7.938 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9655, allocations: 4 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9655, allocations: 3.938 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.9656, allocations: 85.23 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.9657, allocations: 77.11 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.9657, allocations: 4.312 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.9657, allocations: 48 / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.9658, allocations: 11.97 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.9658, allocations: 8 kB / 1.224 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.9658, allocations: 79.28 kB / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9658, allocations: 0 / 1.224 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002156/0.9661, allocations: 19.94 kB / 1.224 GB, free: 13.12 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004181/0.9665, allocations: 0.6202 MB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.9667, allocations: 119.4 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9667, allocations: 0 / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.9668, allocations: 15.94 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.967, allocations: 15.86 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.9684, allocations: 1.35 MB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.9686, allocations: 0.6807 MB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.138e-05/0.9687, allocations: 0 / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.9687, allocations: 15.42 kB / 1.227 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.9687, allocations: 0 / 1.227 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.987, allocations: 1.924 MB / 1.229 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.722, allocations: 6.094 kB / 1.229 GB, free: 8.312 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches