Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 104.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 182.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.6 MB / 249.3 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.505/2.505, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.89 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7482/0.75, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001542/0.7515, allocations: 0.6617 MB / 1.272 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.7527, allocations: 1.191 MB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.7527, allocations: 0.8438 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.7528, allocations: 8.594 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/0.7528, allocations: 11.89 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005836/0.7534, allocations: 224.9 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.7536, allocations: 171.9 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.989e-05/0.7537, allocations: 14.12 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.7538, allocations: 62.05 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.7539, allocations: 69.64 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.754, allocations: 15.09 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.606e-05/0.754, allocations: 25.98 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.7541, allocations: 8.453 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.7541, allocations: 62.38 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.7543, allocations: 149 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7543, allocations: 3.938 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7543, allocations: 1.125 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7543, allocations: 0 / 1.274 GB, free: 6.121 MB / 0.9981 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.0004038/0.7547, allocations: 435.4 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7548, allocations: 8.969 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.7548, allocations: 38.42 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.7548, allocations: 16.45 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.144e-05/0.7549, allocations: 174.8 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.7549, allocations: 4.719 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.755, allocations: 11.34 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.7551, allocations: 49.75 kB / 1.275 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.7551, allocations: 3.938 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.7551, allocations: 0 / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7551, allocations: 5.625 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/0.7551, allocations: 18.08 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.7555, allocations: 351.8 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.949e-05/0.7555, allocations: 35.7 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.7556, allocations: 15.08 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.7556, allocations: 0.875 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/0.7557, allocations: 82.06 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.7557, allocations: 0 / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002144/0.7559, allocations: 107.4 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.7559, allocations: 55.11 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.102e-05/0.756, allocations: 118.9 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.756, allocations: 29.64 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.7561, allocations: 94.94 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.7561, allocations: 16.64 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/0.7561, allocations: 51.59 kB / 1.276 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.85e-05/0.7562, allocations: 323 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.7563, allocations: 60.7 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.7564, allocations: 96.23 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.7566, allocations: 159.4 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7566, allocations: 0 / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000364/0.757, allocations: 264 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.757, allocations: 69.08 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.757, allocations: 3.156 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.757, allocations: 10.53 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.756e-05/0.757, allocations: 5.562 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.757, allocations: 2.469 kB / 1.277 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.7573, allocations: 50.56 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.7574, allocations: 15.95 kB / 1.277 GB, free: 3.785 MB / 0.9981 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 6.736e-05/0.7574, allocations: 124.2 kB / 1.277 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.7575, allocations: 12.2 kB / 1.277 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.7575, allocations: 10.53 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7575, allocations: 1.062 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.7575, allocations: 0 / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7575, allocations: 0.9375 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.822e-05/0.7576, allocations: 179.4 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.7576, allocations: 0.625 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-06/0.7576, allocations: 9.938 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.7576, allocations: 0 / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.7576, allocations: 4.266 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7576, allocations: 4 kB / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7576, allocations: 0 / 1.277 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.7577, allocations: 111.2 kB / 1.277 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.7577, allocations: 79.23 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.7577, allocations: 2.516 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.7577, allocations: 0.8125 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.7578, allocations: 12.16 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.7578, allocations: 2.125 kB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.912e-05/0.7578, allocations: 93.03 kB / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7578, allocations: 0 / 1.277 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002232/0.758, allocations: 40.17 kB / 1.277 GB, free: 3.152 MB / 0.9981 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.0002949/0.7583, allocations: 0.6485 MB / 1.278 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.7586, allocations: 224.5 kB / 1.278 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7586, allocations: 0.8125 kB / 1.278 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.7586, allocations: 24.8 kB / 1.278 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.7588, allocations: 23.41 kB / 1.278 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.7604, allocations: 1.718 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.7607, allocations: 0.6864 MB / 1.281 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.7607, allocations: 8.453 kB / 1.281 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.7608, allocations: 25.14 kB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.7608, allocations: 0 / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.7837, allocations: 2.878 MB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.8, allocations: 10.53 kB / 1.283 GB, free: 15.73 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_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_Nor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! Error: Could not read variable nor1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! Error: Could not read variable nor1.y in file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.y from file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.190129931994306]