Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_10_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.001056/0.001056, allocations: 108 kB / 15.61 MB, free: 152 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.00104/0.00104, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.437/2.437, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6264/0.6276, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001851/0.6295, allocations: 0.6132 MB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.6308, allocations: 1.109 MB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.6308, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.352e-05/0.6309, allocations: 3.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/0.631, allocations: 11.98 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.6314, allocations: 115 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.6316, allocations: 91.89 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.422e-05/0.6317, allocations: 15.86 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.6317, allocations: 35.91 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.6318, allocations: 27.91 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.6318, allocations: 4 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.981e-05/0.6319, allocations: 23.98 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.6319, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.632, allocations: 35.91 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.6321, allocations: 83.8 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6321, allocations: 0 / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6321, allocations: 0 / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6322, allocations: 0 / 1.02 GB, free: 336 kB / 0.7637 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.000409/0.6326, allocations: 375.4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6326, allocations: 8.031 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.6326, allocations: 34.73 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.6327, allocations: 4.938 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.6328, allocations: 172.2 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.6328, allocations: 16.31 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.6328, allocations: 4.375 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.327e-05/0.6329, allocations: 42.25 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.6329, allocations: 3.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.633, allocations: 3.984 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.633, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.633, allocations: 11.98 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.6333, allocations: 288.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.6334, allocations: 22.52 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.6334, allocations: 12.92 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-06/0.6334, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.667e-05/0.6335, allocations: 55.39 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.6335, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000174/0.6337, allocations: 69.52 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.6338, allocations: 55.41 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.6338, allocations: 105.9 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.6339, allocations: 33.69 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.6339, allocations: 80.14 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.6339, allocations: 7.906 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.634, allocations: 29.7 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.6341, allocations: 318.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/0.6342, allocations: 31.92 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.723e-05/0.6343, allocations: 54.55 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.525e-05/0.6344, allocations: 80.2 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6344, allocations: 320 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002261/0.6346, allocations: 143.3 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.6347, allocations: 33.64 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.6347, allocations: 8.094 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6347, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.617e-05/0.6347, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6347, allocations: 7.984 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.6349, allocations: 23.97 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.635, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 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.496e-05/0.635, allocations: 117.8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.6351, allocations: 7.844 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.6351, allocations: 15.48 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6351, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.6351, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6351, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.6352, allocations: 157.6 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6352, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-06/0.6352, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6352, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.6353, allocations: 3.984 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6353, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.6353, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.978e-05/0.6354, allocations: 85.28 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.6354, allocations: 77.11 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.6354, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.6354, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.6355, allocations: 7.984 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.6355, allocations: 4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.6355, allocations: 83.22 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6355, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002012/0.6357, allocations: 16 kB / 1.022 GB, free: 13.27 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: 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.0003484/0.6361, allocations: 0.6201 MB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.6363, allocations: 123.2 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6363, allocations: 4.188 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.654e-05/0.6363, allocations: 15.98 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.6365, allocations: 4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.6377, allocations: 1.366 MB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.638, allocations: 0.6807 MB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.858e-05/0.638, allocations: 4 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.638, allocations: 15.42 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.638, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.6561, allocations: 1.879 MB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.822, allocations: 10.47 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches