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.001179/0.001179, allocations: 108 kB / 15.61 MB, free: 148 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.001356/0.001356, allocations: 194.7 kB / 16.53 MB, free: 6.691 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.366/1.366, 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 9.1.3-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8114/0.813, allocations: 140.4 MB / 0.9497 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001854/0.8149, allocations: 0.6109 MB / 0.9503 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.8161, allocations: 1.11 MB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.8162, allocations: 3.938 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.8162, allocations: 1.094 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.93e-05/0.8163, allocations: 7.922 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.8168, allocations: 122.4 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.8169, allocations: 85.33 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.817, allocations: 4.625 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.273e-05/0.8171, allocations: 38.88 kB / 0.9517 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.57e-05/0.8172, allocations: 28.08 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.8172, allocations: 6.438 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.8173, allocations: 22.83 kB / 0.9517 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.8173, allocations: 9.156 kB / 0.9517 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.8174, allocations: 25.36 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.8176, allocations: 75.28 kB / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.8176, allocations: 5.594 kB / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8176, allocations: 0 / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.8176, allocations: 0 / 0.9518 GB, free: 7.441 MB / 0.7169 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.000419/0.818, allocations: 377.8 kB / 0.9522 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.8181, allocations: 13.31 kB / 0.9522 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.8181, allocations: 32.03 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.8182, allocations: 12.61 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.243e-05/0.8182, allocations: 173.5 kB / 0.9524 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.8183, allocations: 2.906 kB / 0.9524 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.8183, allocations: 5.469 kB / 0.9524 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/0.8184, allocations: 43.31 kB / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8184, allocations: 3.938 kB / 0.9525 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.8184, allocations: 5.266 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8184, allocations: 0 / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.825e-05/0.8185, allocations: 9.188 kB / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.8188, allocations: 298.4 kB / 0.9528 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.046e-05/0.8188, allocations: 21.36 kB / 0.9528 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.8189, allocations: 7.516 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.944e-06/0.8189, allocations: 1.281 kB / 0.9528 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.819, allocations: 69.36 kB / 0.9529 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.819, allocations: 0 / 0.9529 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001821/0.8192, allocations: 58.62 kB / 0.9529 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.8193, allocations: 52.66 kB / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.8193, allocations: 109.3 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.8194, allocations: 27.36 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.8194, allocations: 86.84 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.8194, allocations: 9.344 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.8195, allocations: 33.36 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.8195, allocations: 315.7 kB / 0.9535 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.8196, allocations: 26.3 kB / 0.9535 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.502e-05/0.8197, allocations: 55.42 kB / 0.9536 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.144e-05/0.8198, allocations: 77.12 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8198, allocations: 4 kB / 0.9537 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000229/0.82, allocations: 142.4 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.8201, allocations: 37.14 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.8201, allocations: 320 / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8201, allocations: 2.062 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.94e-05/0.8201, allocations: 9.281 kB / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8201, allocations: 0 / 0.9539 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.8204, allocations: 28.86 kB / 0.9539 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.8204, allocations: 12.94 kB / 0.9539 GB, free: 5.312 MB / 0.7169 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.565e-05/0.8205, allocations: 117.6 kB / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.8205, allocations: 6.375 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.8205, allocations: 3.5 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.8205, allocations: 1.312 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.8205, allocations: 3.984 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8205, allocations: 1.406 kB / 0.954 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.628e-05/0.8206, allocations: 159.1 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8206, allocations: 4 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-06/0.8206, allocations: 1.156 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.8206, allocations: 0 / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.8206, allocations: 1.25 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.8207, allocations: 0 / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8207, allocations: 1.312 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.373e-05/0.8207, allocations: 90.2 kB / 0.9543 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.8208, allocations: 78.55 kB / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.8208, allocations: 4 kB / 0.9544 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.8208, allocations: 5.438 kB / 0.9544 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.8208, allocations: 1.375 kB / 0.9544 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.8208, allocations: 9.297 kB / 0.9544 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.314e-05/0.8209, allocations: 79.69 kB / 0.9544 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8209, allocations: 0 / 0.9544 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002125/0.8211, allocations: 17.53 kB / 0.9545 GB, free: 4.695 MB / 0.7169 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.0002834/0.8214, allocations: 0.6219 MB / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.8216, allocations: 122.5 kB / 0.9552 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8216, allocations: 0 / 0.9552 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.8216, allocations: 7.562 kB / 0.9552 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.8218, allocations: 14.77 kB / 0.9552 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.823, allocations: 1.358 MB / 0.9565 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.8231, allocations: 0.6815 MB / 0.9572 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.8231, allocations: 2.875 kB / 0.9572 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.8232, allocations: 13.03 kB / 0.9572 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8232, allocations: 0 / 0.9572 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.8406, allocations: 1.897 MB / 0.9591 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/8.301, allocations: 19.03 kB / 0.9591 GB, free: 0.8984 MB / 0.7169 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