Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008535/0.0008535, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009326/0.0009326, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.914/0.914, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.489e-06/4.489e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.285e-05, allocations: 5.516 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002207/0.00224, allocations: 0.6141 MB / 0.9511 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.003932, allocations: 1.124 MB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.003983, allocations: 4 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.004014, allocations: 0 / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.141e-05/0.004086, allocations: 3.938 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.00466, allocations: 132.3 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.004846, allocations: 83.83 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.004949, allocations: 4 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.005064, allocations: 55.89 kB / 0.9525 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.005173, allocations: 27.89 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.0052, allocations: 12 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.005272, allocations: 12 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.005298, allocations: 11.98 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.005357, allocations: 23.97 kB / 0.9526 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.005566, allocations: 103.7 kB / 0.9527 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.005571, allocations: 0 / 0.9527 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.344e-06/0.005573, allocations: 0 / 0.9527 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.005578, allocations: 0 / 0.9527 GB, free: 1.27 MB / 0.9011 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.0005589/0.006137, allocations: 300 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.00619, allocations: 8.031 kB / 0.9529 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.006232, allocations: 30.75 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.006281, allocations: 12.89 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.006392, allocations: 109.7 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.006411, allocations: 384 / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.006436, allocations: 12.38 kB / 0.9531 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.006555, allocations: 42.19 kB / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.006564, allocations: 192 / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.006575, allocations: 4.359 kB / 0.9532 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006582, allocations: 4.125 kB / 0.9532 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/0.006636, allocations: 11.98 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.00706, allocations: 240 kB / 0.9534 GB, free: 400 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.951e-05/0.007119, allocations: 26.56 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.007136, allocations: 8.797 kB / 0.9534 GB, free: 352 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.007148, allocations: 8 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.007321, allocations: 51.41 kB / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.644e-06/0.007323, allocations: 0 / 0.9535 GB, free: 280 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0004968/0.007819, allocations: 69.62 kB / 0.9536 GB, free: 204 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.007863, allocations: 55.34 kB / 0.9536 GB, free: 136 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.007936, allocations: 105.8 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.007968, allocations: 29.7 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.008011, allocations: 92.06 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.008021, allocations: 7.953 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.00807, allocations: 33.7 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.008159, allocations: 322.8 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.008234, allocations: 57.69 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.008303, allocations: 76.27 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.211e-05/0.008385, allocations: 80.2 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-06/0.008387, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000211/0.008598, allocations: 184.9 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.00863, allocations: 37.8 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.008635, allocations: 0 / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.008649, allocations: 0 / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/0.008667, allocations: 7.984 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.008672, allocations: 0 / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.00881, allocations: 23.97 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.008823, allocations: 8 kB / 0.9546 GB, free: 14.99 MB / 0.9167 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.829e-05/0.008891, allocations: 117.8 kB / 0.9547 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.008898, allocations: 3.938 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.008923, allocations: 15.67 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.008925, allocations: 0 / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.00893, allocations: 0 / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008933, allocations: 4 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.284e-05/0.009015, allocations: 124.8 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009018, allocations: 3.938 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-06/0.009021, allocations: 4.25 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.009024, allocations: 7.938 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.00903, allocations: 4 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.009031, allocations: 0 / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.009032, allocations: 0 / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.147e-05/0.009124, allocations: 89.3 kB / 0.955 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.009133, allocations: 7.922 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.009143, allocations: 0 / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.244e-05/0.009156, allocations: 4 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.009179, allocations: 0 / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.009184, allocations: 0 / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.009216, allocations: 91.2 kB / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009216, allocations: 0 / 0.9551 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001504/0.009367, allocations: 16 kB / 0.9551 GB, free: 14.43 MB / 0.9167 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.00033/0.009697, allocations: 0.6202 MB / 0.9557 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.009878, allocations: 137.1 kB / 0.9558 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.00988, allocations: 3.938 kB / 0.9558 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.009897, allocations: 7.984 kB / 0.9558 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.01007, allocations: 6.188 kB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.0112, allocations: 1.477 MB / 0.9573 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.664e-05/0.01124, allocations: 67.28 kB / 0.9574 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.41e-05/0.01127, allocations: 8.188 kB / 0.9574 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.0113, allocations: 12.5 kB / 0.9574 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of SimCode: time 7.81e-07/0.0113, allocations: 0 / 0.9574 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.0288, allocations: 2.676 MB / 0.96 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/6.799, allocations: 2.188 kB / 0.96 GB, free: 9.387 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv: Error: Error opening file: Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,not1.u,not1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 10.909771714359522]