Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001357/0.001357, allocations: 111.7 kB / 16.45 MB, free: 6.488 MB / 14.72 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.001723/0.001723, allocations: 216.2 kB / 19.43 MB, free: 3.656 MB / 14.72 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 1.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.487/3.487, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 65.75 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.419, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001881/0.4208, allocations: 0.5927 MB / 1.348 GB, free: 9.375 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.4224, allocations: 1.147 MB / 1.349 GB, free: 8.215 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.4224, allocations: 4 kB / 1.349 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.4225, allocations: 0 / 1.349 GB, free: 8.211 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.4225, allocations: 3.938 kB / 1.349 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.423, allocations: 126.3 kB / 1.35 GB, free: 8.086 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.4232, allocations: 87.88 kB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.791e-05/0.4233, allocations: 4 kB / 1.35 GB, free: 7.996 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.4234, allocations: 43.91 kB / 1.35 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.4235, allocations: 31.89 kB / 1.35 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.4235, allocations: 8 kB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.894e-05/0.4235, allocations: 23.92 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.4236, allocations: 4 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.4236, allocations: 31.89 kB / 1.35 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.4238, allocations: 87.95 kB / 1.35 GB, free: 7.77 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4238, allocations: 0 / 1.35 GB, free: 7.77 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4238, allocations: 4 kB / 1.35 GB, free: 7.766 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4238, allocations: 0 / 1.35 GB, free: 7.766 MB / 1.045 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.0005179/0.4243, allocations: 373.1 kB / 1.35 GB, free: 7.344 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4244, allocations: 15.98 kB / 1.35 GB, free: 7.328 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.4244, allocations: 42.73 kB / 1.35 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.4245, allocations: 4.938 kB / 1.35 GB, free: 7.273 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.4246, allocations: 164.3 kB / 1.35 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4246, allocations: 4.375 kB / 1.35 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.4246, allocations: 4.375 kB / 1.35 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.4248, allocations: 42.23 kB / 1.351 GB, free: 7.02 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4248, allocations: 3.938 kB / 1.351 GB, free: 7.016 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.4248, allocations: 8 kB / 1.351 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.4248, allocations: 0 / 1.351 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.943e-05/0.4248, allocations: 11.92 kB / 1.351 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.4252, allocations: 284.8 kB / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.056e-05/0.4253, allocations: 22.58 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.4253, allocations: 8.922 kB / 1.351 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.4253, allocations: 0 / 1.351 GB, free: 6.625 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.4255, allocations: 63.33 kB / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4255, allocations: 0 / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001872/0.4256, allocations: 69.62 kB / 1.351 GB, free: 6.477 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.4257, allocations: 51.41 kB / 1.351 GB, free: 6.414 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.4258, allocations: 101.9 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.4258, allocations: 29.69 kB / 1.351 GB, free: 6.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.688e-05/0.4259, allocations: 88.14 kB / 1.351 GB, free: 6.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.4259, allocations: 11.89 kB / 1.351 GB, free: 6.168 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.426, allocations: 29.7 kB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4261, allocations: 318.7 kB / 1.352 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.4262, allocations: 31.98 kB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.443e-05/0.4263, allocations: 46.55 kB / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.4264, allocations: 84.27 kB / 1.352 GB, free: 5.629 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4264, allocations: 0 / 1.352 GB, free: 5.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002551/0.4267, allocations: 147.3 kB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.4267, allocations: 29.7 kB / 1.352 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.4267, allocations: 11.92 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.4267, allocations: 0 / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.439e-05/0.4268, allocations: 0 / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.4268, allocations: 7.922 kB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.427, allocations: 35.95 kB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.427, allocations: 8 kB / 1.352 GB, free: 5.375 MB / 1.045 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.529e-05/0.4271, allocations: 117.8 kB / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.4271, allocations: 0 / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.4271, allocations: 3.812 kB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4271, allocations: 7.984 kB / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4271, allocations: 0 / 1.352 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4271, allocations: 4.234 kB / 1.352 GB, free: 5.227 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.4273, allocations: 161.6 kB / 1.352 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4273, allocations: 4 kB / 1.352 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.06e-05/0.4273, allocations: 7.984 kB / 1.352 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.4273, allocations: 0 / 1.352 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.4273, allocations: 0 / 1.352 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4273, allocations: 0 / 1.352 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4273, allocations: 3.984 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.4274, allocations: 85 kB / 1.352 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.4275, allocations: 81.06 kB / 1.352 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.4275, allocations: 4 kB / 1.352 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.4275, allocations: 0 / 1.352 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.4275, allocations: 7.984 kB / 1.352 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.4275, allocations: 0 / 1.352 GB, free: 4.793 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.4276, allocations: 83.28 kB / 1.353 GB, free: 4.711 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4276, allocations: 0 / 1.353 GB, free: 4.711 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002109/0.4278, allocations: 19.94 kB / 1.353 GB, free: 4.691 MB / 1.045 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.0004624/0.4282, allocations: 0.6202 MB / 1.353 GB, free: 4.039 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.4284, allocations: 107.4 kB / 1.353 GB, free: 3.922 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4284, allocations: 0 / 1.353 GB, free: 3.922 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.4285, allocations: 15.92 kB / 1.353 GB, free: 3.906 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.4287, allocations: 9.719 kB / 1.353 GB, free: 3.898 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.4302, allocations: 1.365 MB / 1.355 GB, free: 2.434 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.4305, allocations: 0.6768 MB / 1.355 GB, free: 1.73 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.4305, allocations: 4 kB / 1.355 GB, free: 1.727 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.4306, allocations: 15.42 kB / 1.355 GB, free: 1.715 MB / 1.045 GB Notification: Performance of SimCode: time 2.71e-07/0.4306, allocations: 0 / 1.355 GB, free: 1.715 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.456, allocations: 1.927 MB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.536, allocations: 4 kB / 1.357 GB, free: 15.89 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable not1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv. Warning: Get data of variable not1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.859036615118384]