Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.001914/0.001914, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002822/0.002822, allocations: 214.5 kB / 22.25 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.777 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.281/3.281, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.002335/0.002335, allocations: 66.28 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3965, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002068/0.3985, allocations: 0.6412 MB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.4003, allocations: 1.214 MB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.4003, allocations: 4 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.4004, allocations: 3.938 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.064e-05/0.4005, allocations: 15.86 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.4012, allocations: 212.4 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.4015, allocations: 175.7 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.4016, allocations: 11.98 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.4017, allocations: 67.95 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.4019, allocations: 63.77 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.4019, allocations: 16 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.402, allocations: 27.94 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.402, allocations: 7.984 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.199e-05/0.4021, allocations: 55.83 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.4023, allocations: 147.9 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4023, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4023, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4024, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 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.0005506/0.4029, allocations: 361.5 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4029, allocations: 12.03 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.391e-05/0.403, allocations: 34.75 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.877e-05/0.4031, allocations: 12.89 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.4032, allocations: 106.5 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.4032, allocations: 8.359 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.4032, allocations: 8.375 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.4034, allocations: 54.19 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4034, allocations: 3.938 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4034, allocations: 0 / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4034, allocations: 0 / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.146e-05/0.4034, allocations: 15.98 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.404, allocations: 307.8 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.954e-05/0.404, allocations: 34.5 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.4041, allocations: 12.86 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.4041, allocations: 3.938 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.4043, allocations: 87.39 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.4043, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.000281/0.4046, allocations: 105.6 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.4046, allocations: 51.41 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4048, allocations: 113.8 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.4048, allocations: 37.7 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.512e-05/0.4049, allocations: 105.1 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.4049, allocations: 7.906 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.405, allocations: 49.69 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4052, allocations: 318.8 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.4054, allocations: 123.4 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.4057, allocations: 158.4 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.4059, allocations: 163.5 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4059, allocations: 0 / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004963/0.4064, allocations: 324.2 kB / 1.368 GB, free: 8.531 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.4064, allocations: 67.86 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4064, allocations: 0 / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.4065, allocations: 4 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.423e-05/0.4065, allocations: 3.984 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.4065, allocations: 4.062 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/0.4069, allocations: 64 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.4069, allocations: 11.98 kB / 1.369 GB, free: 8.367 MB / 1.061 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 0.0001355/0.407, allocations: 125.7 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.407, allocations: 7.953 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.4071, allocations: 12.31 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4071, allocations: 0 / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4071, allocations: 4 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4071, allocations: 4 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.4073, allocations: 148.7 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4073, allocations: 0 / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-06/0.4073, allocations: 0 / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4073, allocations: 3.984 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.4073, allocations: 0 / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4073, allocations: 4 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4073, allocations: 8.234 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.4075, allocations: 113 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.4075, allocations: 7.984 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.4075, allocations: 4 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.4075, allocations: 4 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.4076, allocations: 11.92 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4076, allocations: 0 / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.918e-05/0.4077, allocations: 91.27 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4077, allocations: 0 / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002447/0.4079, allocations: 35.95 kB / 1.369 GB, free: 7.715 MB / 1.061 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.0005822/0.4085, allocations: 0.6437 MB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004063/0.4089, allocations: 282.1 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4089, allocations: 256 / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.4089, allocations: 27.92 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.4092, allocations: 20.2 kB / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.4117, allocations: 1.956 MB / 1.372 GB, free: 4.559 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.276e-05/0.4118, allocations: 75.33 kB / 1.372 GB, free: 4.465 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.4118, allocations: 11.86 kB / 1.372 GB, free: 4.453 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.4118, allocations: 15.42 kB / 1.372 GB, free: 4.438 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/0.4118, allocations: 4 kB / 1.372 GB, free: 4.434 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.4449, allocations: 3.635 MB / 1.376 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.65, allocations: 9.734 kB / 1.376 GB, free: 0.9609 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_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_Nor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable nor1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! Error: Could not read variable nor1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! Error: Could not read variable nor1.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.729131353087723]