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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 98.86 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 193.4 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.54/2.54, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.19 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2976, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002128/0.2998, allocations: 0.6661 MB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3017, allocations: 1.193 MB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.3017, allocations: 0 / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.018e-05/0.3018, allocations: 3.938 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.542e-05/0.3019, allocations: 11.92 kB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.3027, allocations: 222.5 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.3029, allocations: 187.6 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.303, allocations: 11.98 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.3031, allocations: 63.91 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.3032, allocations: 63.83 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.3033, allocations: 12 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.409e-05/0.3034, allocations: 31.98 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.3034, allocations: 11.94 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.3035, allocations: 55.88 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3037, allocations: 155.6 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3037, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3037, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3037, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 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.0005331/0.3043, allocations: 435.9 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3043, allocations: 8.031 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.3044, allocations: 12.84 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3045, allocations: 172.3 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3045, allocations: 8.375 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.3046, allocations: 8.375 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.3047, allocations: 50.23 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3047, allocations: 192 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3047, allocations: 7.938 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3047, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.103e-05/0.3048, allocations: 15.98 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.3053, allocations: 356.6 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.3054, allocations: 38.61 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.3054, allocations: 16.84 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-06/0.3054, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.3056, allocations: 79.31 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.295e-06/0.3056, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002484/0.3059, allocations: 105.6 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.3059, allocations: 55.41 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.306, allocations: 125.8 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.3061, allocations: 33.7 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.3062, allocations: 88.08 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3062, allocations: 19.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.3063, allocations: 45.69 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3064, allocations: 322.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3066, allocations: 59.91 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.3067, allocations: 96.25 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.3069, allocations: 155.6 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3069, allocations: 0 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004087/0.3073, allocations: 268.8 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.3074, allocations: 63.41 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3074, allocations: 3.984 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3074, allocations: 4 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.886e-05/0.3075, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3075, allocations: 7.938 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3078, allocations: 52.06 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.3078, allocations: 15.98 kB / 1.032 GB, free: 12.38 MB / 0.8106 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.0001061/0.3079, allocations: 130.1 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.308, allocations: 7.906 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.308, allocations: 8.375 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.308, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.308, allocations: 4 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.308, allocations: 7.922 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.3082, allocations: 181.6 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3082, allocations: 4 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.3082, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3082, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3082, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3082, allocations: 7.984 kB / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3082, allocations: 0 / 1.032 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.3084, allocations: 108.9 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.3084, allocations: 93 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.3085, allocations: 0 / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.3085, allocations: 4 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3085, allocations: 7.984 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3085, allocations: 4 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.3086, allocations: 87.28 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3086, allocations: 3.938 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002474/0.3089, allocations: 35.98 kB / 1.033 GB, free: 11.6 MB / 0.8106 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.0001578/0.309, allocations: 103.2 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.3094, allocations: 254.6 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3094, allocations: 0 / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.3095, allocations: 28.31 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.3097, allocations: 23.09 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.3101, allocations: 151.1 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.3103, allocations: 0.6885 MB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.731e-05/0.3104, allocations: 7.984 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.3104, allocations: 11.44 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3104, allocations: 288 / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of Templates: time 0.004654/0.315, allocations: 1.855 MB / 1.036 GB, free: 8.43 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) 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) Reference file matches