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.001596/0.001596, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001622/0.001622, allocations: 214.3 kB / 22.25 MB, free: 5.262 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.781 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.411/3.411, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002125/0.002125, allocations: 67.86 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3872, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001808/0.389, allocations: 0.6556 MB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3906, allocations: 1.202 MB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.3907, allocations: 0 / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.3907, allocations: 3.938 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.3908, allocations: 15.88 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006303/0.3914, allocations: 214.2 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.3916, allocations: 179.6 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.3917, allocations: 11.98 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.67e-05/0.3918, allocations: 63.91 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.3919, allocations: 59.84 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.392, allocations: 12 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.331e-05/0.3921, allocations: 31.98 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.3921, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.145e-05/0.3922, allocations: 59.81 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.3924, allocations: 155.8 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3924, allocations: 0 / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3924, allocations: 3.938 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3924, allocations: 0 / 1.366 GB, free: 11.39 MB / 1.061 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.0005125/0.3929, allocations: 357.5 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3929, allocations: 8.031 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.393, allocations: 38.73 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.393, allocations: 16.89 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3931, allocations: 106.5 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3931, allocations: 4.375 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.3932, allocations: 8.375 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.3933, allocations: 54.23 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3933, allocations: 7.875 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3933, allocations: 7.922 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3933, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.3934, allocations: 15.98 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.3938, allocations: 299.8 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.232e-05/0.3939, allocations: 30.58 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.445e-05/0.394, allocations: 20.88 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.394, allocations: 0 / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.3941, allocations: 79.38 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3941, allocations: 0 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002417/0.3944, allocations: 105.6 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.3944, allocations: 55.34 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3945, allocations: 117.8 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.3946, allocations: 33.7 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.3946, allocations: 96.09 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.3946, allocations: 12.97 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3948, allocations: 53.67 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3949, allocations: 322.8 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3951, allocations: 123.7 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.3953, allocations: 155.7 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.3955, allocations: 159.6 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3955, allocations: 0 / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004952/0.396, allocations: 332.2 kB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.396, allocations: 67.39 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.396, allocations: 0 / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.396, allocations: 4 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.977e-05/0.3961, allocations: 3.938 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3961, allocations: 4 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.3964, allocations: 60.05 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.3964, allocations: 8 kB / 1.369 GB, free: 8.371 MB / 1.061 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.0001124/0.3965, allocations: 129.7 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.3966, allocations: 7.953 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.3966, allocations: 8.375 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3966, allocations: 4 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3966, allocations: 0 / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3966, allocations: 0 / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.3967, allocations: 148.6 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3967, allocations: 0 / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.3967, allocations: 7.938 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3967, allocations: 0 / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.3968, allocations: 4 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3968, allocations: 0 / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3968, allocations: 0 / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.3969, allocations: 117.3 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-06/0.3969, allocations: 4 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.3969, allocations: 4 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.397, allocations: 3.984 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.397, allocations: 4 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.397, allocations: 7.938 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.724e-05/0.3971, allocations: 95.27 kB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3971, allocations: 3.938 kB / 1.369 GB, free: 7.754 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002405/0.3973, allocations: 31.95 kB / 1.369 GB, free: 7.723 MB / 1.061 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.0004892/0.3978, allocations: 0.6476 MB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.3982, allocations: 282.1 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3982, allocations: 0 / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.3982, allocations: 19.94 kB / 1.37 GB, free: 6.715 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.3985, allocations: 21.8 kB / 1.37 GB, free: 6.695 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.4008, allocations: 1.968 MB / 1.372 GB, free: 4.559 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.521e-05/0.4009, allocations: 71.33 kB / 1.372 GB, free: 4.469 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.4009, allocations: 11.8 kB / 1.372 GB, free: 4.457 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.401, allocations: 15.44 kB / 1.372 GB, free: 4.441 MB / 1.061 GB Notification: Performance of SimCode: time 7.12e-07/0.401, allocations: 0 / 1.372 GB, free: 4.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.433, allocations: 3.636 MB / 1.376 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.78, allocations: 5.938 kB / 1.376 GB, free: 0.9648 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.855963399168104]