Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_9_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.006704/0.006704, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001457/0.001457, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001315, allocations: 71.88 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9909/0.9923, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.00183/0.9942, allocations: 0.6253 MB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.9959, allocations: 1.113 MB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.996, allocations: 1.094 kB / 1.089 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.996, allocations: 4.453 kB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.698e-05/0.9961, allocations: 5.734 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.9968, allocations: 120.8 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.997, allocations: 92.92 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.9971, allocations: 8.484 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.9972, allocations: 29.52 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.9973, allocations: 35.83 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.9973, allocations: 7.844 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.9974, allocations: 21.89 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.9974, allocations: 6.766 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.37e-05/0.9975, allocations: 30.52 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.9977, allocations: 80.86 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.9977, allocations: 1.797 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9978, allocations: 0 / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.964e-06/0.9978, allocations: 0 / 1.09 GB, free: 3.855 MB / 0.8575 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.0004367/0.9982, allocations: 378.5 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.9983, allocations: 13.84 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.9983, allocations: 32.42 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.9983, allocations: 8.812 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.9984, allocations: 167.6 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.9985, allocations: 6.375 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.9985, allocations: 6.453 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.327e-05/0.9986, allocations: 35.12 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.9986, allocations: 3.938 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.9986, allocations: 8.734 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.9986, allocations: 1.156 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.9987, allocations: 9.578 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.9991, allocations: 292.6 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.57e-05/0.9991, allocations: 18.27 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.9992, allocations: 13 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.9992, allocations: 0 / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.9993, allocations: 68.52 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9993, allocations: 0 / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001924/0.9995, allocations: 56.56 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.9995, allocations: 56.41 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.9996, allocations: 108.1 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.9996, allocations: 28.36 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.9997, allocations: 83.58 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.9997, allocations: 13.41 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.9998, allocations: 33.67 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.9998, allocations: 317.2 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.9999, allocations: 27.73 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/1, allocations: 53.41 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/1, allocations: 75.73 kB / 1.091 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1, allocations: 4 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000238/1, allocations: 146.9 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/1, allocations: 38.88 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1, allocations: 1.062 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1, allocations: 1.062 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.671e-05/1, allocations: 5.625 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1, allocations: 1.766 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/1.001, allocations: 29.05 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/1.001, allocations: 5.062 kB / 1.092 GB, free: 1.848 MB / 0.8575 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 6.823e-05/1.001, allocations: 123.5 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/1.001, allocations: 2.984 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/1.001, allocations: 5.016 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.001, allocations: 0 / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.001, allocations: 5.062 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.001, allocations: 4.594 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.233e-05/1.001, allocations: 161.3 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.001, allocations: 0.7031 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-06/1.001, allocations: 0 / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.001, allocations: 5.969 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/1.001, allocations: 0 / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.001, allocations: 1.516 kB / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/1.001, allocations: 0 / 1.092 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.298e-05/1.001, allocations: 84.19 kB / 1.092 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/1.001, allocations: 83.12 kB / 1.092 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/1.001, allocations: 1.766 kB / 1.092 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.327e-05/1.001, allocations: 320 / 1.092 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/1.001, allocations: 11.17 kB / 1.092 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/1.001, allocations: 5.703 kB / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.788e-05/1.001, allocations: 80.94 kB / 1.092 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.001, allocations: 1.125 kB / 1.092 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002107/1.001, allocations: 13.84 kB / 1.092 GB, free: 1.246 MB / 0.8575 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.0004678/1.002, allocations: 0.6214 MB / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000235/1.002, allocations: 118.9 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.002, allocations: 0 / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/1.002, allocations: 12.47 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/1.002, allocations: 6.984 kB / 1.093 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/1.004, allocations: 1.37 MB / 1.094 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/1.004, allocations: 0.6783 MB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.307e-05/1.004, allocations: 6.797 kB / 1.095 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/1.004, allocations: 9.578 kB / 1.095 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/1.004, allocations: 0.6562 kB / 1.095 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/1.022, allocations: 1.919 MB / 1.097 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.703, allocations: 6.203 kB / 1.097 GB, free: 14.15 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches