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.001374/0.001374, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001499/0.001499, allocations: 215 kB / 22.25 MB, free: 5.082 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 8.008 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.229/3.229, allocations: 0.505 GB / 0.8101 GB, free: 22.09 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.002052/0.002052, allocations: 79.56 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3871, allocations: 180.2 MB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002483/0.3896, allocations: 0.6587 MB / 1.354 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.3917, allocations: 1.218 MB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.3918, allocations: 0 / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.355e-05/0.3918, allocations: 7.938 kB / 1.355 GB, free: 6.613 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.3919, allocations: 19.84 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.3926, allocations: 211.1 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.3929, allocations: 179.7 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.393, allocations: 12 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.3931, allocations: 71.88 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.3933, allocations: 71.72 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.3933, allocations: 16 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-05/0.3934, allocations: 23.98 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.3934, allocations: 11.94 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.428e-05/0.3935, allocations: 55.89 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.3937, allocations: 155.8 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3937, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3937, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.3938, allocations: 0 / 1.355 GB, free: 5.809 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005587/0.3943, allocations: 361.5 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3944, allocations: 8.031 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.3944, allocations: 38.73 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.3945, allocations: 12.89 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3946, allocations: 110.5 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.3946, allocations: 16.31 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.3946, allocations: 8.375 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.3947, allocations: 50.23 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3947, allocations: 3.938 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3948, allocations: 0 / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.3948, allocations: 4 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.3948, allocations: 12 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.3953, allocations: 331.7 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.884e-05/0.3954, allocations: 38.5 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.3954, allocations: 16.86 kB / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.3955, allocations: 0 / 1.356 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.3957, allocations: 75.45 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3957, allocations: 0 / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002797/0.3959, allocations: 105.6 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.396, allocations: 59.41 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3961, allocations: 117.8 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.3961, allocations: 29.7 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.3962, allocations: 100.1 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.3962, allocations: 11.95 kB / 1.357 GB, free: 4.141 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.406e-05/0.3963, allocations: 49.69 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3965, allocations: 322.7 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3966, allocations: 63.97 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.3968, allocations: 88.27 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.397, allocations: 167.5 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.397, allocations: 4 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004304/0.3974, allocations: 264.8 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.3975, allocations: 67.39 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3975, allocations: 0 / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3975, allocations: 4 kB / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.058e-05/0.3975, allocations: 0 / 1.358 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3975, allocations: 4 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.3979, allocations: 56.02 kB / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.3979, allocations: 15.98 kB / 1.358 GB, free: 2.969 MB / 1.045 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.0001197/0.398, allocations: 133.6 kB / 1.358 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.398, allocations: 7.953 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.3981, allocations: 12.36 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3981, allocations: 4 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3981, allocations: 480 / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.3981, allocations: 4 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.3982, allocations: 148.7 kB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3982, allocations: 0 / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-06/0.3982, allocations: 3.984 kB / 1.358 GB, free: 2.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3982, allocations: 3.938 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3983, allocations: 4 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3983, allocations: 0 / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3983, allocations: 320 / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.3984, allocations: 121 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.3984, allocations: 3.953 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3984, allocations: 0 / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.826e-05/0.3985, allocations: 4 kB / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.3985, allocations: 7.984 kB / 1.358 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3985, allocations: 4 kB / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.919e-05/0.3986, allocations: 91.27 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3986, allocations: 0 / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002297/0.3988, allocations: 32 kB / 1.359 GB, free: 2.324 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: 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.0004964/0.3993, allocations: 0.6552 MB / 1.359 GB, free: 1.641 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.3996, allocations: 214.7 kB / 1.359 GB, free: 1.406 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3996, allocations: 0 / 1.359 GB, free: 1.406 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.3997, allocations: 19.98 kB / 1.359 GB, free: 1.387 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.3999, allocations: 24.17 kB / 1.359 GB, free: 1.363 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.4019, allocations: 1.721 MB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.4022, allocations: 0.6885 MB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.4023, allocations: 8.078 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.4023, allocations: 27.36 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4023, allocations: 0 / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.4327, allocations: 3.013 MB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.18, allocations: 12.08 kB / 1.365 GB, free: 11.9 MB / 1.061 GB " [Timeout remaining time 289] (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.107000063000214]