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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001274/0.001273, allocations: 109.7 kB / 16.41 MB, free: 6.504 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.001268/0.001269, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.814/1.814, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.408/2.408, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.88 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8283/0.8296, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001768/0.8314, allocations: 0.665 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.8327, allocations: 1.194 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.8327, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.8328, allocations: 3.938 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.8328, allocations: 3.938 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.8334, allocations: 222.5 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.8336, allocations: 187.6 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.107e-05/0.8337, allocations: 8 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.292e-05/0.8338, allocations: 71.88 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.8339, allocations: 59.84 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.834, allocations: 16 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.834, allocations: 35.97 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.8341, allocations: 3.938 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.8342, allocations: 59.89 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.8343, allocations: 147.6 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8343, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.696e-06/0.8344, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8344, allocations: 3.938 kB / 1.211 GB, free: 10.99 MB / 0.9356 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.0004534/0.8348, allocations: 436.5 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.8349, allocations: 12.03 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.8349, allocations: 8.844 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.479e-05/0.835, allocations: 172.3 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.835, allocations: 12.36 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.8351, allocations: 12.38 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.8352, allocations: 46.25 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.8352, allocations: 3.938 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.8352, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.8352, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.708e-05/0.8353, allocations: 19.92 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.8357, allocations: 352.7 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/0.8358, allocations: 34.58 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.8358, allocations: 20.94 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.8358, allocations: 0 / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.8359, allocations: 83.3 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.8359, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002187/0.8362, allocations: 101.6 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.8362, allocations: 55.41 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.8363, allocations: 117.8 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.8363, allocations: 29.7 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.8364, allocations: 92.05 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.8364, allocations: 15.89 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-05/0.8365, allocations: 49.69 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.8366, allocations: 330.6 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.8367, allocations: 55.97 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.8368, allocations: 96.25 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.837, allocations: 164 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.837, allocations: 0 / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000352/0.8374, allocations: 260.8 kB / 1.213 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.601e-05/0.8374, allocations: 71.39 kB / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.8374, allocations: 0 / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.8374, allocations: 0 / 1.214 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.919e-05/0.8375, allocations: 7.984 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.8375, allocations: 3.938 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.8378, allocations: 59.91 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.8378, allocations: 19.98 kB / 1.214 GB, free: 8.008 MB / 0.9356 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 8.554e-05/0.8379, allocations: 121.8 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.8379, allocations: 0 / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.8379, allocations: 8.375 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.838, allocations: 0 / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.838, allocations: 0 / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.838, allocations: 81.02 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.838, allocations: 15.98 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.838, allocations: 8 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.8381, allocations: 7.984 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001337/0.8382, allocations: 164.9 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001488/0.8384, allocations: 247.1 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.669e-05/0.8384, allocations: 28.05 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.8385, allocations: 95.27 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of Backend: time 2.6e-07/0.8385, allocations: 0 / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.839, allocations: 309.1 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004435/0.8395, allocations: 0.6046 MB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of Templates: time 0.01573/0.8552, allocations: 1.93 MB / 1.217 GB, free: 4.301 MB / 0.9356 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 -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