Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001283/0.001283, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00139/0.00139, allocations: 218.5 kB / 22.26 MB, free: 5.125 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.243/3.243, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_12_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.001994/0.001994, allocations: 66 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3833, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001931/0.3853, allocations: 0.662 MB / 1.327 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.387, allocations: 1.225 MB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.387, allocations: 3.938 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.3871, allocations: 7.938 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.754e-05/0.3872, allocations: 15.86 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007193/0.3879, allocations: 221.7 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.3881, allocations: 167.8 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3882, allocations: 12 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.3883, allocations: 67.89 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3885, allocations: 63.84 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.3885, allocations: 16 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.3886, allocations: 35.92 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.3886, allocations: 11.94 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.667e-05/0.3887, allocations: 59.88 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.389, allocations: 155.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.389, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.082e-06/0.389, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.389, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 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.0005965/0.3896, allocations: 361.5 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.3896, allocations: 12.03 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.3897, allocations: 34.73 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.3897, allocations: 8.938 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3899, allocations: 110.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3899, allocations: 8.375 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.3899, allocations: 8.375 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.39, allocations: 54.17 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.39, allocations: 3.938 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3901, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3901, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.3901, allocations: 12 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.3906, allocations: 323.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.791e-05/0.3907, allocations: 38.5 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.3908, allocations: 12.86 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.3908, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.391, allocations: 91.34 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.391, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002824/0.3913, allocations: 113.5 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.3913, allocations: 55.34 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3915, allocations: 113.8 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.3915, allocations: 33.7 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.3916, allocations: 96.12 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.3916, allocations: 7.906 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.511e-05/0.3917, allocations: 53.69 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3919, allocations: 322.8 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.392, allocations: 59.97 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.3922, allocations: 88.27 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.3924, allocations: 167.5 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3924, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004441/0.3928, allocations: 272.8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.3929, allocations: 67.86 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3929, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3929, allocations: 128 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.35e-05/0.393, allocations: 8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.393, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.3933, allocations: 59.89 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.3933, allocations: 11.98 kB / 1.331 GB, free: 12.41 MB / 1.029 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.0001385/0.3935, allocations: 138.2 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.3935, allocations: 4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.3935, allocations: 12.36 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3935, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3935, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3935, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3937, allocations: 148.7 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3937, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/0.3937, allocations: 7.984 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3937, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3937, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3937, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3937, allocations: 4 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.3939, allocations: 113 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.3939, allocations: 7.953 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3939, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.814e-05/0.3939, allocations: 7.875 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.394, allocations: 15.97 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.394, allocations: 0 / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.882e-05/0.3941, allocations: 95.27 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3941, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002378/0.3943, allocations: 28 kB / 1.332 GB, free: 11.77 MB / 1.029 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.0005314/0.3948, allocations: 0.6475 MB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.3952, allocations: 218.9 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3952, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.3953, allocations: 23.92 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.3955, allocations: 21.77 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.3977, allocations: 1.724 MB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.3981, allocations: 0.6824 MB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.3981, allocations: 4 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.3982, allocations: 19.42 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.3982, allocations: 4 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.4315, allocations: 3.031 MB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.13, allocations: 2.062 kB / 1.338 GB, free: 5.348 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! Error: Could not read variable nor1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! Error: Could not read variable nor1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv. Warning: Get data of variable nor1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.983209496998825]