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.0006619/0.0006619, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007775/0.0007775, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.892/0.892, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.776/1.776, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.184e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001487/0.001508, allocations: 0.6297 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.002626, allocations: 1.218 MB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.002667, allocations: 0 / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.002691, allocations: 0 / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.002753, allocations: 11.86 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.003252, allocations: 225.4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.003423, allocations: 171.7 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.003516, allocations: 11.92 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003621, allocations: 95.86 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.003721, allocations: 47.91 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.003746, allocations: 19.94 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.003807, allocations: 27.98 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.003827, allocations: 7.984 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.003883, allocations: 47.97 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.004065, allocations: 187.5 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004067, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.21e-07/0.004068, allocations: 4 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.004072, allocations: 0 / 1.002 GB, free: 10.8 MB / 0.9636 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.0004095/0.004481, allocations: 361.5 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.004521, allocations: 12.75 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.382e-05/0.004545, allocations: 30.75 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.004582, allocations: 8.938 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.132e-05/0.004654, allocations: 117.7 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.004666, allocations: 4.375 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.004685, allocations: 12.36 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.349e-05/0.004779, allocations: 54.25 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.004784, allocations: 192 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.004792, allocations: 8.312 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.004797, allocations: 4.125 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.004831, allocations: 19.92 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.005174, allocations: 288 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.854e-05/0.005233, allocations: 26.58 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.215e-05/0.005255, allocations: 16.94 kB / 1.003 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.005264, allocations: 3.938 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.005394, allocations: 87.27 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.005395, allocations: 0 / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0001899/0.005585, allocations: 109.6 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.005618, allocations: 55.41 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.00569, allocations: 125.7 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.005711, allocations: 33.7 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.005757, allocations: 84.14 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.005772, allocations: 19.89 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.005831, allocations: 49.69 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.005907, allocations: 318.8 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.006021, allocations: 123.4 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.006142, allocations: 155.2 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.006265, allocations: 163.6 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.006269, allocations: 3.938 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002939/0.006563, allocations: 328.2 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.006601, allocations: 67.39 kB / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.006607, allocations: 0 / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.006618, allocations: 0 / 1.005 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.561e-05/0.006634, allocations: 4.125 kB / 1.005 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.00664, allocations: 11.92 kB / 1.005 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.006826, allocations: 52.34 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.006846, allocations: 12 kB / 1.005 GB, free: 7.773 MB / 0.9636 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 7.128e-05/0.006917, allocations: 129.8 kB / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.006925, allocations: 7.953 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.006944, allocations: 4.438 kB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006946, allocations: 7.938 kB / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.00695, allocations: 0 / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.006952, allocations: 0 / 1.005 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.712e-05/0.00704, allocations: 152.6 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007041, allocations: 0 / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-06/0.007045, allocations: 8 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.007046, allocations: 0 / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.007052, allocations: 0 / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.007053, allocations: 0 / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.007054, allocations: 8.062 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.574e-05/0.00715, allocations: 113 kB / 1.005 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.007158, allocations: 11.95 kB / 1.005 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.00717, allocations: 7.984 kB / 1.005 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.007181, allocations: 0 / 1.005 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.007212, allocations: 4 kB / 1.005 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.007217, allocations: 3.984 kB / 1.005 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.007249, allocations: 87.28 kB / 1.005 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007249, allocations: 0 / 1.005 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001552/0.007404, allocations: 32 kB / 1.006 GB, free: 7.137 MB / 0.9636 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.0002909/0.007695, allocations: 0.663 MB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.007943, allocations: 282.1 kB / 1.006 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007945, allocations: 4 kB / 1.006 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/0.007973, allocations: 16 kB / 1.006 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.008138, allocations: 14.05 kB / 1.006 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.009472, allocations: 1.962 MB / 1.008 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.347e-05/0.009516, allocations: 71.59 kB / 1.008 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.009541, allocations: 7.859 kB / 1.008 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.009575, allocations: 24.48 kB / 1.008 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.009576, allocations: 0 / 1.008 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.02469, allocations: 3.749 MB / 1.012 GB, free: 272 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/6.69, allocations: 2.062 kB / 1.012 GB, free: 272 kB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.7426283871755]