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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008909/0.0008908, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009464/0.0009465, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.827/2.827, allocations: 437.7 MB / 0.7117 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005198, allocations: 12 kB / 0.8722 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8642/0.8648, allocations: 153.8 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002589/0.8674, allocations: 0.9843 MB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003253/0.8707, allocations: 1.522 MB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.8709, allocations: 3.938 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.8712, allocations: 19.8 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.8714, allocations: 55.56 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.8732, allocations: 422.1 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007267/0.874, allocations: 0.5193 MB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.8744, allocations: 135.7 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.8747, allocations: 191.4 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.875, allocations: 167.3 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.231e-05/0.8751, allocations: 20 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.8752, allocations: 35.98 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.284e-05/0.8753, allocations: 51.72 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.8755, allocations: 89.52 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006439/0.8761, allocations: 0.5044 MB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.8761, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8761, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.8762, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 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.001459/0.8776, allocations: 0.8609 MB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.8777, allocations: 8.562 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.8779, allocations: 51.53 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.8796, allocations: 0.4906 MB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.8797, allocations: 28.56 kB / 1.028 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.8798, allocations: 43.94 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/0.8808, allocations: 332.8 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.8809, allocations: 0 / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.8809, allocations: 8 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.8809, allocations: 8 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009924/0.8819, allocations: 282 kB / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.8842, allocations: 0.9393 MB / 1.03 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009805/0.8852, allocations: 382.7 kB / 1.03 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007235/0.8859, allocations: 300.8 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.886, allocations: 4 kB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008151/0.8868, allocations: 331 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 3.226e-06/0.8868, allocations: 0 / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.002332/0.8892, allocations: 0.8694 MB / 1.032 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.8893, allocations: 191.9 kB / 1.032 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.8897, allocations: 284.5 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-05/0.8898, allocations: 45.69 kB / 1.032 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.8901, allocations: 176.7 kB / 1.032 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.8902, allocations: 130.1 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.8903, allocations: 19.98 kB / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.8905, allocations: 354.8 kB / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009082/0.8914, allocations: 284.8 kB / 1.033 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009817/0.8924, allocations: 369.8 kB / 1.034 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.8935, allocations: 0.5311 MB / 1.034 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.8935, allocations: 0 / 1.034 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002447/0.896, allocations: 1.017 MB / 1.035 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.8961, allocations: 259.3 kB / 1.035 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8961, allocations: 4 kB / 1.035 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.8962, allocations: 4 kB / 1.035 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.8965, allocations: 79.86 kB / 1.035 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.8965, allocations: 4 kB / 1.035 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/0.8973, allocations: 187.5 kB / 1.036 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.8974, allocations: 67.92 kB / 1.036 GB, free: 1.879 MB / 0.7794 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,$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003326/0.8977, allocations: 323.7 kB / 1.036 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.8978, allocations: 39.53 kB / 1.036 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.8979, allocations: 35.48 kB / 1.036 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.8979, allocations: 8 kB / 1.036 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.8979, allocations: 0 / 1.036 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.898, allocations: 4 kB / 1.036 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.8998, allocations: 1.225 MB / 1.037 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8998, allocations: 0 / 1.037 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.9, allocations: 71.89 kB / 1.037 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.9, allocations: 0 / 1.037 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.9001, allocations: 15.98 kB / 1.037 GB, free: 40 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9001, allocations: 0 / 1.037 GB, free: 40 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9001, allocations: 4 kB / 1.037 GB, free: 36 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.9012, allocations: 0.7924 MB / 1.038 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.9013, allocations: 112.6 kB / 1.038 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.9014, allocations: 12 kB / 1.038 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.9016, allocations: 37.31 kB / 1.038 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.9017, allocations: 47.81 kB / 1.038 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/0.9018, allocations: 51.92 kB / 1.038 GB, free: 14.92 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002043/0.902, allocations: 195.1 kB / 1.039 GB, free: 14.73 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.81e-07/0.902, allocations: 0 / 1.039 GB, free: 14.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004478/0.9024, allocations: 111.9 kB / 1.039 GB, free: 14.62 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001781/0.9026, allocations: 120.3 kB / 1.039 GB, free: 14.49 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.9042, allocations: 1.132 MB / 1.04 GB, free: 13.25 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9042, allocations: 0 / 1.04 GB, free: 13.25 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005936/0.9048, allocations: 0.5325 MB / 1.04 GB, free: 12.66 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.9053, allocations: 80.55 kB / 1.04 GB, free: 12.58 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.9067, allocations: 0.8765 MB / 1.041 GB, free: 11.68 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.9071, allocations: 0.7966 MB / 1.042 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.9074, allocations: 95.19 kB / 1.042 GB, free: 10.76 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.9075, allocations: 31.44 kB / 1.042 GB, free: 10.73 MB / 0.795 GB Notification: Performance of SimCode: time 3.5e-07/0.9075, allocations: 0 / 1.042 GB, free: 10.73 MB / 0.795 GB Notification: Performance of Templates: time 0.01139/0.9189, allocations: 5.864 MB / 1.048 GB, free: 4.961 MB / 0.795 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