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.001349/0.001349, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.00182/0.00182, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.559/1.559, allocations: 230.6 MB / 252.8 MB, free: 9.148 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.306/3.306, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.002197/0.002197, allocations: 75.5 kB / 1.172 GB, free: 17.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3781, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00192/0.38, allocations: 0.6583 MB / 1.348 GB, free: 9.348 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3817, allocations: 1.222 MB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.3817, allocations: 3.938 kB / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.3818, allocations: 3.938 kB / 1.35 GB, free: 8.105 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.3818, allocations: 15.92 kB / 1.35 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.3825, allocations: 209.9 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.3828, allocations: 179.6 kB / 1.35 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.3829, allocations: 11.98 kB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.383, allocations: 67.89 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.3831, allocations: 59.84 kB / 1.35 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.3831, allocations: 16 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.003e-05/0.3832, allocations: 27.97 kB / 1.35 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.3832, allocations: 8 kB / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.3833, allocations: 59.83 kB / 1.35 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.3835, allocations: 151.8 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3835, allocations: 0 / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3836, allocations: 0 / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3836, allocations: 4 kB / 1.35 GB, free: 7.316 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.0006258/0.3842, allocations: 438.6 kB / 1.351 GB, free: 6.824 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.3842, allocations: 15.98 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.3843, allocations: 38.69 kB / 1.351 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.3843, allocations: 12.89 kB / 1.351 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3845, allocations: 164.4 kB / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.3845, allocations: 8.375 kB / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.3845, allocations: 8.375 kB / 1.351 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.3846, allocations: 58.23 kB / 1.351 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3846, allocations: 3.938 kB / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3846, allocations: 0 / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3846, allocations: 4 kB / 1.351 GB, free: 6.465 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.658e-05/0.3847, allocations: 15.94 kB / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.3852, allocations: 352.7 kB / 1.351 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.826e-05/0.3853, allocations: 30.56 kB / 1.351 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.3853, allocations: 16.86 kB / 1.352 GB, free: 5.996 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.3853, allocations: 4 kB / 1.352 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.3855, allocations: 87.38 kB / 1.352 GB, free: 5.895 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3855, allocations: 0 / 1.352 GB, free: 5.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002473/0.3858, allocations: 101.6 kB / 1.352 GB, free: 5.789 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3858, allocations: 55.41 kB / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3859, allocations: 117.8 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.3859, allocations: 33.7 kB / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.386, allocations: 96.08 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.386, allocations: 15.94 kB / 1.352 GB, free: 5.445 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3862, allocations: 57.62 kB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3863, allocations: 318.8 kB / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3864, allocations: 59.95 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.3866, allocations: 98.95 kB / 1.353 GB, free: 4.895 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.3868, allocations: 155.6 kB / 1.353 GB, free: 4.715 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3868, allocations: 4 kB / 1.353 GB, free: 4.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004464/0.3872, allocations: 265 kB / 1.353 GB, free: 4.434 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.3873, allocations: 71.39 kB / 1.353 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3873, allocations: 0 / 1.353 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3873, allocations: 4.469 kB / 1.353 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.048e-05/0.3874, allocations: 0 / 1.353 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3874, allocations: 7.938 kB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.3877, allocations: 51.89 kB / 1.353 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.3877, allocations: 15.98 kB / 1.353 GB, free: 4.273 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.0001154/0.3879, allocations: 129.7 kB / 1.353 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.3879, allocations: 7.953 kB / 1.353 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.3879, allocations: 8.375 kB / 1.353 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.3879, allocations: 3.984 kB / 1.353 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3879, allocations: 4 kB / 1.353 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3879, allocations: 0 / 1.353 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.3881, allocations: 177.5 kB / 1.353 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3881, allocations: 0 / 1.353 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-06/0.3881, allocations: 4 kB / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3881, allocations: 0 / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3881, allocations: 3.984 kB / 1.353 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.3881, allocations: 8.062 kB / 1.353 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3881, allocations: 3.938 kB / 1.353 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.3883, allocations: 109 kB / 1.353 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.3883, allocations: 85.06 kB / 1.354 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3883, allocations: 0 / 1.354 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.3883, allocations: 8 kB / 1.354 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.3884, allocations: 11.97 kB / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.3884, allocations: 4 kB / 1.354 GB, free: 3.621 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.58e-05/0.3884, allocations: 91.27 kB / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3884, allocations: 0 / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002326/0.3887, allocations: 32 kB / 1.354 GB, free: 3.5 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.0005084/0.3892, allocations: 0.6517 MB / 1.354 GB, free: 2.82 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.3895, allocations: 218.7 kB / 1.355 GB, free: 2.582 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3895, allocations: 7.938 kB / 1.355 GB, free: 2.574 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.3896, allocations: 19.98 kB / 1.355 GB, free: 2.555 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.3898, allocations: 20.66 kB / 1.355 GB, free: 2.539 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.392, allocations: 1.722 MB / 1.356 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.3925, allocations: 0.6924 MB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.866e-05/0.3926, allocations: 4 kB / 1.357 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.3926, allocations: 23.42 kB / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3926, allocations: 0 / 1.357 GB, free: 15.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.4217, allocations: 2.89 MB / 1.36 GB, free: 13.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/8.653, allocations: 6.891 kB / 1.36 GB, free: 13.16 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.762405442073941]