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.009334/0.009334, allocations: 97.33 kB / 15.73 MB, free: 6.035 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.001688/0.001688, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.775/2.775, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3791, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002536/0.3816, allocations: 1.336 MB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.3837, allocations: 1.557 MB / 1.169 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3839, allocations: 3.938 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.384, allocations: 35.61 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.3842, allocations: 75.36 kB / 1.17 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.3854, allocations: 0.501 MB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006663/0.386, allocations: 0.6833 MB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003283/0.3864, allocations: 168.8 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.3867, allocations: 255.4 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.3869, allocations: 243.1 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.3871, allocations: 64 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.3872, allocations: 79.98 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.801e-05/0.3873, allocations: 87.58 kB / 1.172 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.3876, allocations: 247 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.3883, allocations: 0.6773 MB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.3883, allocations: 8 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.786e-06/0.3883, allocations: 0 / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3883, allocations: 0 / 1.172 GB, free: 0.7773 MB / 0.92 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.001646/0.39, allocations: 0.9542 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 8.333e-05/0.3901, allocations: 12.03 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.3902, allocations: 52.66 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.3916, allocations: 468 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.3917, allocations: 32.92 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/0.3918, allocations: 44.31 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.3924, allocations: 321.3 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3925, allocations: 3.938 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.3925, allocations: 12 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3925, allocations: 4 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.3932, allocations: 258 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.395, allocations: 0.9161 MB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.3956, allocations: 366.7 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.3962, allocations: 298.6 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3962, allocations: 4 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005912/0.3968, allocations: 323 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=44): time 4.438e-06/0.3968, allocations: 0 / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=44): time 0.00154/0.3984, allocations: 0.8422 MB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.3985, allocations: 191.9 kB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.3988, allocations: 292.5 kB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.3988, allocations: 37.7 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.399, allocations: 172.9 kB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3991, allocations: 134.9 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.3993, allocations: 134.1 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3995, allocations: 350.8 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/0.4001, allocations: 276.8 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.4007, allocations: 357.8 kB / 1.179 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.4019, allocations: 0.9012 MB / 1.18 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.4019, allocations: 11.94 kB / 1.18 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001576/0.4034, allocations: 0.9901 MB / 1.181 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.4036, allocations: 267.3 kB / 1.181 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4036, allocations: 4 kB / 1.181 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.4037, allocations: 4 kB / 1.181 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.4039, allocations: 63.89 kB / 1.181 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.404, allocations: 4 kB / 1.181 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007222/0.4047, allocations: 151.5 kB / 1.181 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.4048, allocations: 67.86 kB / 1.181 GB, free: 6.953 MB / 0.9356 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.0003126/0.4051, allocations: 322.2 kB / 1.182 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.4052, allocations: 35.77 kB / 1.182 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.4053, allocations: 43.48 kB / 1.182 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4053, allocations: 4 kB / 1.182 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4053, allocations: 4 kB / 1.182 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.4053, allocations: 0 / 1.182 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.4072, allocations: 1.198 MB / 1.183 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4072, allocations: 3.938 kB / 1.183 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.4074, allocations: 55.95 kB / 1.183 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4074, allocations: 4 kB / 1.183 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.4075, allocations: 15.98 kB / 1.183 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.882e-06/0.4075, allocations: 4 kB / 1.183 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4075, allocations: 7.875 kB / 1.183 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.4086, allocations: 0.7706 MB / 1.184 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.521e-05/0.4087, allocations: 112.8 kB / 1.184 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.4087, allocations: 8 kB / 1.184 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.409, allocations: 27.97 kB / 1.184 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.4091, allocations: 35.89 kB / 1.184 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.4091, allocations: 59.86 kB / 1.184 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001965/0.4093, allocations: 203.1 kB / 1.184 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4094, allocations: 4 kB / 1.184 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000411/0.4098, allocations: 107.9 kB / 1.184 GB, free: 3.746 MB / 0.9356 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.0002143/0.41, allocations: 119.9 kB / 1.185 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.4115, allocations: 1.105 MB / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4116, allocations: 0 / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00061/0.4122, allocations: 0.5164 MB / 1.186 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.4127, allocations: 91.25 kB / 1.186 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.414, allocations: 0.8088 MB / 1.187 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.4144, allocations: 0.7963 MB / 1.188 GB, free: 84 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.4146, allocations: 95.19 kB / 1.188 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.4147, allocations: 31.44 kB / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.4147, allocations: 0 / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of Templates: time 0.01225/0.427, allocations: 6.615 MB / 1.194 GB, free: 9.422 MB / 0.9512 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/jenkins/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