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.001714/0.001714, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001839/0.001838, allocations: 195.9 kB / 17.3 MB, free: 5.516 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.662/2.662, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 64.53 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3939, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002004/0.396, allocations: 0.666 MB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3975, allocations: 1.193 MB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.3976, allocations: 0 / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.3976, allocations: 7.938 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.3977, allocations: 11.88 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.3984, allocations: 214.3 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.3987, allocations: 191.6 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3988, allocations: 8 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.3989, allocations: 67.89 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.3991, allocations: 63.83 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.3991, allocations: 16 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/0.3992, allocations: 24 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.3992, allocations: 15.92 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/0.3993, allocations: 51.88 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3995, allocations: 159.5 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3996, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3996, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3996, allocations: 3.938 kB / 1.029 GB, free: 15.34 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.0005574/0.4001, allocations: 438.7 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4002, allocations: 8.031 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.4003, allocations: 12.84 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.4004, allocations: 164.4 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.4004, allocations: 8.375 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.4005, allocations: 8.375 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.4006, allocations: 50.23 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4006, allocations: 192 / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4006, allocations: 7.938 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4006, allocations: 4 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.4007, allocations: 19.92 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.4012, allocations: 352.7 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.4013, allocations: 34.52 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.4013, allocations: 12.95 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.4013, allocations: 3.984 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.4015, allocations: 87.31 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.4015, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000253/0.4018, allocations: 101.6 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.4018, allocations: 55.41 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.4019, allocations: 121.8 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.402, allocations: 33.7 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.402, allocations: 84.14 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.4021, allocations: 23.75 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.4022, allocations: 45.69 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4023, allocations: 326.8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.4024, allocations: 55.97 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.4026, allocations: 92.62 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.4027, allocations: 159.7 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4028, allocations: 0 / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004255/0.4032, allocations: 268.8 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/0.4033, allocations: 67.39 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4033, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.4033, allocations: 8.125 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.43e-05/0.4033, allocations: 3.938 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4033, allocations: 4 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/0.4037, allocations: 51.92 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.4037, allocations: 12 kB / 1.032 GB, free: 12.36 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.0001187/0.4038, allocations: 137.6 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.4039, allocations: 7.906 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.4039, allocations: 8.375 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4039, allocations: 4 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.4039, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4039, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.4041, allocations: 181.6 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4041, allocations: 0 / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-06/0.4041, allocations: 4 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4041, allocations: 4 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.4041, allocations: 0 / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4041, allocations: 8 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4041, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.4043, allocations: 109.3 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.4043, allocations: 85.02 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.4043, allocations: 0 / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.4044, allocations: 3.984 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.4044, allocations: 8 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.4044, allocations: 4 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.4045, allocations: 99.2 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.793e-06/0.4045, allocations: 0 / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002375/0.4047, allocations: 39.94 kB / 1.033 GB, free: 11.57 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.000176/0.4049, allocations: 113.8 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.4053, allocations: 250.7 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4053, allocations: 0 / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.9e-05/0.4053, allocations: 24.25 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.4056, allocations: 19.98 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003519/0.4059, allocations: 150.8 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.4062, allocations: 0.6885 MB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.4063, allocations: 4 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.4063, allocations: 15.38 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.4063, allocations: 4 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.004907/0.4112, allocations: 1.841 MB / 1.036 GB, free: 8.41 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 cvode -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