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.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.001871/0.001871, allocations: 109.2 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.002234/0.002234, allocations: 219.9 kB / 22.26 MB, free: 5.121 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.8 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002179/0.002179, allocations: 69.52 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3838, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002456/0.3863, allocations: 0.6606 MB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.3885, allocations: 1.227 MB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.3886, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.3886, allocations: 7.938 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.928e-05/0.3887, allocations: 11.86 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000837/0.3895, allocations: 223.5 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.3898, allocations: 171.8 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3899, allocations: 4 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.3901, allocations: 71.89 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3902, allocations: 63.84 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.3903, allocations: 16 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.3904, allocations: 31.92 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.3904, allocations: 11.92 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/0.3905, allocations: 55.84 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.3908, allocations: 147.2 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3908, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3908, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3908, allocations: 0 / 1.286 GB, free: 9.023 MB / 0.9825 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.000598/0.3914, allocations: 369.5 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3914, allocations: 11.97 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.3915, allocations: 38.75 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.3915, allocations: 8.922 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.3916, allocations: 110.5 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3916, allocations: 8.375 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.3917, allocations: 8.375 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3918, allocations: 58.17 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3918, allocations: 3.938 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.3918, allocations: 4 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3918, allocations: 4 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.951e-05/0.3919, allocations: 8 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.3924, allocations: 331.7 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.3925, allocations: 38.5 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.3925, allocations: 12.86 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.3925, allocations: 4 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.3928, allocations: 87.41 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 3.346e-06/0.3928, allocations: 3.984 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002988/0.3931, allocations: 101.6 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.3931, allocations: 59.39 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3933, allocations: 113.8 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.3933, allocations: 33.7 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.3934, allocations: 84.14 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.3934, allocations: 27.88 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3935, allocations: 49.69 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3937, allocations: 318.8 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3938, allocations: 63.95 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.394, allocations: 84.64 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.3942, allocations: 163.6 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3942, allocations: 7.938 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000447/0.3947, allocations: 264.8 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/0.3947, allocations: 69.42 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3947, allocations: 4.125 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3948, allocations: 4 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.907e-05/0.3948, allocations: 0 / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.3948, allocations: 4 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.3951, allocations: 55.89 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.3951, allocations: 11.98 kB / 1.289 GB, free: 6.172 MB / 0.9825 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.0001325/0.3953, allocations: 129.7 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.3953, allocations: 4 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.3953, allocations: 8.375 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3953, allocations: 7.938 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3953, allocations: 3.984 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3953, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3955, allocations: 144.7 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3955, allocations: 0 / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-06/0.3955, allocations: 0 / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3955, allocations: 3.938 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3955, allocations: 15.98 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3955, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3955, allocations: 4.062 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.3957, allocations: 113 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.3957, allocations: 3.953 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3957, allocations: 4 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/0.3957, allocations: 4 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.3958, allocations: 3.984 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.3958, allocations: 11.94 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.3958, allocations: 95.2 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3958, allocations: 0 / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002342/0.3961, allocations: 32 kB / 1.289 GB, free: 5.523 MB / 0.9825 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.0005401/0.3966, allocations: 0.6401 MB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.397, allocations: 226.8 kB / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.397, allocations: 0 / 1.29 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.3971, allocations: 27.92 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3973, allocations: 11.98 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.3994, allocations: 1.72 MB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.3997, allocations: 0.6885 MB / 1.292 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.3998, allocations: 4 kB / 1.292 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.3998, allocations: 27.42 kB / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3998, allocations: 0 / 1.292 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.4333, allocations: 3.013 MB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.66, allocations: 10.38 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.410119146108627]