Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001913/0.001913, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 63.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9773/0.9786, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003002/0.9817, allocations: 1.348 MB / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.9843, allocations: 1.545 MB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.9846, allocations: 7.938 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.9849, allocations: 31.59 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.9852, allocations: 75.38 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.9866, allocations: 0.5037 MB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.9877, allocations: 0.6872 MB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.9881, allocations: 168.3 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004688/0.9886, allocations: 251.3 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.989, allocations: 239.2 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.9892, allocations: 64 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.9894, allocations: 79.98 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.9895, allocations: 83.64 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.9898, allocations: 247 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008331/0.9907, allocations: 0.6798 MB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.9907, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9907, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.873e-05/0.9907, allocations: 4 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001676/0.9924, allocations: 0.9465 MB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.9925, allocations: 12.86 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.9926, allocations: 52.47 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.9939, allocations: 463.9 kB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.9939, allocations: 36.86 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.994, allocations: 36.38 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/0.9947, allocations: 325.3 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.9947, allocations: 3.938 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.9948, allocations: 8 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.9948, allocations: 4 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006375/0.9954, allocations: 258 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.9973, allocations: 0.9159 MB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.998, allocations: 382.7 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.9985, allocations: 288.5 kB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.9985, allocations: 3.984 kB / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005922/0.9991, allocations: 319 kB / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 4.348e-06/0.9992, allocations: 0 / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.001616/1.001, allocations: 0.8381 MB / 1.178 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.001, allocations: 195.9 kB / 1.178 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/1.001, allocations: 288.4 kB / 1.178 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/1.001, allocations: 41.7 kB / 1.178 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/1.002, allocations: 164.8 kB / 1.179 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/1.002, allocations: 130.2 kB / 1.179 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/1.002, allocations: 138.1 kB / 1.179 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.002, allocations: 350.8 kB / 1.179 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/1.003, allocations: 272.8 kB / 1.179 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006418/1.003, allocations: 361.8 kB / 1.18 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.005, allocations: 0.905 MB / 1.181 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.005, allocations: 7.938 kB / 1.181 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0017/1.006, allocations: 0.99 MB / 1.182 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001745/1.006, allocations: 263.3 kB / 1.182 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.006, allocations: 7.938 kB / 1.182 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/1.007, allocations: 4 kB / 1.182 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/1.007, allocations: 67.89 kB / 1.182 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.007, allocations: 4 kB / 1.182 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007618/1.008, allocations: 143.4 kB / 1.182 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/1.008, allocations: 71.86 kB / 1.182 GB, free: 4.031 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003527/1.008, allocations: 322 kB / 1.182 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/1.008, allocations: 31.62 kB / 1.182 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.128e-05/1.008, allocations: 43.48 kB / 1.183 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.008, allocations: 4 kB / 1.183 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.008, allocations: 0 / 1.183 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.008, allocations: 3.938 kB / 1.183 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/1.01, allocations: 1.202 MB / 1.184 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.01, allocations: 0 / 1.184 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/1.01, allocations: 55.95 kB / 1.184 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.011, allocations: 4 kB / 1.184 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/1.011, allocations: 19.98 kB / 1.184 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/1.011, allocations: 7.938 kB / 1.184 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.011, allocations: 3.938 kB / 1.184 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/1.012, allocations: 0.7625 MB / 1.185 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/1.012, allocations: 116.6 kB / 1.185 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/1.012, allocations: 8 kB / 1.185 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/1.012, allocations: 31.97 kB / 1.185 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.012, allocations: 39.89 kB / 1.185 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.235e-05/1.012, allocations: 47.88 kB / 1.185 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000212/1.012, allocations: 207.1 kB / 1.185 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.012, allocations: 0 / 1.185 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005102/1.013, allocations: 103.9 kB / 1.185 GB, free: 0.8438 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.000206/1.013, allocations: 119.2 kB / 1.185 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001599/1.015, allocations: 1.109 MB / 1.186 GB, free: 15.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/1.015, allocations: 3.906 kB / 1.186 GB, free: 15.49 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006061/1.015, allocations: 0.5164 MB / 1.187 GB, free: 14.91 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/1.016, allocations: 89.02 kB / 1.187 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/1.018, allocations: 0.8307 MB / 1.188 GB, free: 13.96 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/1.018, allocations: 0.8002 MB / 1.188 GB, free: 13.14 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/1.018, allocations: 35.38 kB / 1.188 GB, free: 13.1 MB / 0.92 GB Notification: Performance of SimCode: time 6.01e-07/1.018, allocations: 0 / 1.188 GB, free: 13.1 MB / 0.92 GB Notification: Performance of Templates: time 0.01251/1.031, allocations: 5.634 MB / 1.194 GB, free: 7.508 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches