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.005354/0.005354, allocations: 98.09 kB / 15.73 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.001177/0.001177, allocations: 197.2 kB / 16.67 MB, free: 5.949 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.424/2.424, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.97 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.309, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001992/0.311, allocations: 0.6224 MB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3125, allocations: 1.11 MB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.3126, allocations: 0 / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.3127, allocations: 0 / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.089e-05/0.3128, allocations: 7.922 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006249/0.3134, allocations: 121.6 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3136, allocations: 95.83 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3138, allocations: 11.98 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3139, allocations: 31.97 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.314, allocations: 35.83 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.314, allocations: 12 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.332e-05/0.3141, allocations: 19.98 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.3142, allocations: 4 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.3142, allocations: 27.91 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.3144, allocations: 91.94 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3145, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3145, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.3145, allocations: 0 / 1.09 GB, free: 15.78 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.0005051/0.315, allocations: 377.1 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.315, allocations: 8.031 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.3151, allocations: 34.75 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.3151, allocations: 4.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3153, allocations: 168.4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3153, allocations: 384 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3153, allocations: 8.375 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3155, allocations: 38.25 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3155, allocations: 3.938 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3155, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3155, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.981e-05/0.3156, allocations: 11.94 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.316, allocations: 300.8 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.127e-05/0.3161, allocations: 18.58 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.3161, allocations: 8.844 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.3161, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.3163, allocations: 63.39 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.3163, allocations: 4 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002103/0.3165, allocations: 57.69 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3166, allocations: 55.41 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.3167, allocations: 101.8 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.3167, allocations: 29.7 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.3168, allocations: 92.03 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.3168, allocations: 11.94 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.3169, allocations: 33.64 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.317, allocations: 322.8 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.3171, allocations: 27.98 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.3172, allocations: 46.56 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3173, allocations: 76.27 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3173, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002663/0.3176, allocations: 151.6 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.3176, allocations: 37.64 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3176, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3177, allocations: 3.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-05/0.3177, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3177, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.3179, allocations: 23.97 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.3179, allocations: 11.98 kB / 1.092 GB, free: 13.41 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 9.915e-05/0.3181, allocations: 121.8 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.3181, allocations: 7.953 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.3181, allocations: 7.5 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3181, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3181, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3181, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.3183, allocations: 169.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3183, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.3183, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3183, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.3183, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3183, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3183, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.3184, allocations: 88.98 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.3185, allocations: 77.11 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.3185, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.3185, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.3185, allocations: 4.281 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3185, allocations: 4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.3186, allocations: 91.2 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3186, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002153/0.3188, allocations: 16 kB / 1.092 GB, free: 12.73 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.000433/0.3193, allocations: 0.624 MB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.3195, allocations: 123.4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3195, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.3196, allocations: 15.94 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.3198, allocations: 7.984 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3211, allocations: 1.346 MB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3214, allocations: 0.6807 MB / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.3214, allocations: 0 / 1.095 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.3214, allocations: 15.44 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3214, allocations: 0 / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.3413, allocations: 1.923 MB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.877, allocations: 5.5 kB / 1.097 GB, free: 7.91 MB / 0.8575 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