Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.001594/0.001594, allocations: 108 kB / 15.6 MB, free: 132 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.001877/0.001877, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.537/2.537, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.89 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8081, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001961/0.8101, allocations: 0.6487 MB / 0.9504 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.8113, allocations: 1.185 MB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.8114, allocations: 0 / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.8114, allocations: 3.938 kB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.8115, allocations: 17.2 kB / 0.9516 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.8121, allocations: 218.5 kB / 0.9518 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.8124, allocations: 173.3 kB / 0.9519 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.315e-05/0.8125, allocations: 21.03 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.8125, allocations: 60.06 kB / 0.952 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.8126, allocations: 57.2 kB / 0.9521 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.8127, allocations: 15.44 kB / 0.9521 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.775e-05/0.8128, allocations: 32.92 kB / 0.9521 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.8128, allocations: 11.27 kB / 0.9521 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.673e-05/0.8129, allocations: 62.47 kB / 0.9522 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.8131, allocations: 144.6 kB / 0.9523 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8131, allocations: 8 kB / 0.9523 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8131, allocations: 1.281 kB / 0.9523 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.8131, allocations: 0 / 0.9523 GB, free: 7.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004717/0.8136, allocations: 432.9 kB / 0.9527 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.8137, allocations: 9.094 kB / 0.9527 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.8137, allocations: 36.31 kB / 0.9528 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.8137, allocations: 8.719 kB / 0.9528 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.386e-05/0.8138, allocations: 169.9 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.8139, allocations: 9.297 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.8139, allocations: 13.06 kB / 0.953 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.814, allocations: 51.91 kB / 0.953 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.814, allocations: 3.938 kB / 0.953 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.8141, allocations: 1.906 kB / 0.953 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.8141, allocations: 3.938 kB / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.305e-05/0.8141, allocations: 15.3 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.8145, allocations: 355 kB / 0.9534 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.455e-05/0.8146, allocations: 37.17 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.8147, allocations: 18.09 kB / 0.9534 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.8147, allocations: 0 / 0.9534 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.8149, allocations: 80.34 kB / 0.9535 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.8149, allocations: 0 / 0.9535 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002346/0.8151, allocations: 100.5 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.8151, allocations: 56.56 kB / 0.9537 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.8152, allocations: 122.2 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.8153, allocations: 33.86 kB / 0.9538 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.8153, allocations: 93.56 kB / 0.9539 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.8153, allocations: 11.31 kB / 0.9539 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.8154, allocations: 47.69 kB / 0.954 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.963e-05/0.8155, allocations: 324.2 kB / 0.9543 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.8156, allocations: 63.75 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.8158, allocations: 95.81 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.816, allocations: 155.5 kB / 0.9546 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.816, allocations: 0 / 0.9546 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003854/0.8164, allocations: 263 kB / 0.9548 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.8164, allocations: 72.83 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8164, allocations: 1.125 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8164, allocations: 1.188 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.001e-05/0.8165, allocations: 6.266 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.8165, allocations: 2.531 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.8168, allocations: 59.56 kB / 0.955 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.8169, allocations: 14.02 kB / 0.955 GB, free: 4.664 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.489e-05/0.817, allocations: 121.7 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.817, allocations: 6.438 kB / 0.9551 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.817, allocations: 13.83 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.817, allocations: 5.422 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.817, allocations: 3.938 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.817, allocations: 0 / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.228e-05/0.8171, allocations: 177 kB / 0.9553 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.8172, allocations: 9.438 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-06/0.8172, allocations: 0 / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8172, allocations: 1.344 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.8172, allocations: 9.359 kB / 0.9553 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8172, allocations: 0 / 0.9553 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8172, allocations: 1.156 kB / 0.9553 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.8173, allocations: 115.5 kB / 0.9554 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.8174, allocations: 83.55 kB / 0.9555 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.8174, allocations: 1.312 kB / 0.9555 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.8174, allocations: 4 kB / 0.9555 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.8174, allocations: 7.609 kB / 0.9555 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.8175, allocations: 2.562 kB / 0.9555 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.8175, allocations: 95.17 kB / 0.9556 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8175, allocations: 0 / 0.9556 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002392/0.8177, allocations: 34.34 kB / 0.9556 GB, free: 3.996 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003118/0.8181, allocations: 0.6491 MB / 0.9563 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.8184, allocations: 247.5 kB / 0.9565 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8184, allocations: 0 / 0.9565 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/0.8184, allocations: 28.08 kB / 0.9565 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.8187, allocations: 22.11 kB / 0.9565 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.8203, allocations: 1.713 MB / 0.9582 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.8204, allocations: 0.6884 MB / 0.9589 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.8205, allocations: 12.05 kB / 0.9589 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.8205, allocations: 21.84 kB / 0.9589 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.8205, allocations: 1.312 kB / 0.9589 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.8404, allocations: 2.845 MB / 0.9617 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/8.329, allocations: 11.44 kB / 0.9617 GB, free: 15.38 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_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_Nor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches