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.0009554/0.0009553, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 181 kB / 16.92 MB, free: 6.918 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.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.363 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.667/2.667, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 11.94 kB / 0.8735 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7126/0.7129, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00181/0.7148, allocations: 1.03 MB / 1.025 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.7176, allocations: 1.612 MB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.7178, allocations: 4 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.718, allocations: 23.73 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.7182, allocations: 51.56 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.7195, allocations: 475.5 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007163/0.7202, allocations: 0.5661 MB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.7206, allocations: 150.9 kB / 1.028 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000408/0.721, allocations: 199.3 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.7213, allocations: 167.2 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.7215, allocations: 20 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.7216, allocations: 35.98 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.264e-05/0.7217, allocations: 55.72 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.722, allocations: 220.7 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.7226, allocations: 0.5025 MB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7226, allocations: 7.938 kB / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7226, allocations: 0 / 1.029 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.7226, allocations: 0 / 1.029 GB, free: 10.73 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.001399/0.724, allocations: 0.8611 MB / 1.03 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.7241, allocations: 8.031 kB / 1.03 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.7243, allocations: 48.47 kB / 1.03 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.7258, allocations: 0.4921 MB / 1.03 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/0.7259, allocations: 28.92 kB / 1.03 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.726, allocations: 40.38 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.7268, allocations: 341.2 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.7268, allocations: 11.88 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.7269, allocations: 4 kB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.7269, allocations: 8 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007291/0.7276, allocations: 274.1 kB / 1.031 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.7295, allocations: 0.9277 MB / 1.032 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.7303, allocations: 395.2 kB / 1.032 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.7308, allocations: 294 kB / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.7308, allocations: 7.984 kB / 1.032 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006324/0.7315, allocations: 342.9 kB / 1.033 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 3.186e-06/0.7315, allocations: 4 kB / 1.033 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.001745/0.7332, allocations: 0.8617 MB / 1.033 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.7334, allocations: 195.9 kB / 1.034 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.7337, allocations: 292.4 kB / 1.034 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-05/0.7338, allocations: 41.7 kB / 1.034 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.7339, allocations: 160.8 kB / 1.034 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.7341, allocations: 138.1 kB / 1.034 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.7342, allocations: 57.69 kB / 1.034 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7343, allocations: 350.8 kB / 1.035 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.735, allocations: 288.8 kB / 1.035 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/0.7357, allocations: 377.8 kB / 1.035 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.737, allocations: 0.9401 MB / 1.036 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.737, allocations: 3.938 kB / 1.036 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001738/0.7387, allocations: 1.017 MB / 1.037 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.7389, allocations: 261.4 kB / 1.037 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.7389, allocations: 4 kB / 1.037 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.7389, allocations: 7.984 kB / 1.037 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.7392, allocations: 67.91 kB / 1.038 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.7392, allocations: 7.984 kB / 1.038 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/0.7401, allocations: 191.5 kB / 1.038 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.7402, allocations: 71.86 kB / 1.038 GB, free: 0.7852 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,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.0003873/0.7406, allocations: 314.2 kB / 1.038 GB, free: 448 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.7407, allocations: 35.62 kB / 1.038 GB, free: 412 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.7408, allocations: 43.48 kB / 1.038 GB, free: 368 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.7408, allocations: 4 kB / 1.038 GB, free: 364 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.7408, allocations: 7.984 kB / 1.038 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.984e-06/0.7409, allocations: 3.984 kB / 1.038 GB, free: 352 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.7429, allocations: 1.229 MB / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7429, allocations: 3.984 kB / 1.039 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.7432, allocations: 75.89 kB / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.7432, allocations: 0 / 1.039 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.7432, allocations: 16 kB / 1.039 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.7432, allocations: 0 / 1.039 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.7432, allocations: 3.938 kB / 1.039 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.7445, allocations: 0.7964 MB / 1.04 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.7447, allocations: 108.6 kB / 1.04 GB, free: 13.96 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.7447, allocations: 11.98 kB / 1.04 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.745, allocations: 35.97 kB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.7451, allocations: 35.89 kB / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/0.7452, allocations: 51.94 kB / 1.04 GB, free: 13.83 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002391/0.7454, allocations: 195.1 kB / 1.041 GB, free: 13.64 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7454, allocations: 0 / 1.041 GB, free: 13.64 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005462/0.746, allocations: 119.8 kB / 1.041 GB, free: 13.52 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 (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.0002309/0.7462, allocations: 116.4 kB / 1.041 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.7481, allocations: 1.14 MB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7481, allocations: 0 / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006963/0.7488, allocations: 0.5325 MB / 1.043 GB, free: 11.55 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.7494, allocations: 84.53 kB / 1.043 GB, free: 11.47 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.751, allocations: 0.9408 MB / 1.044 GB, free: 10.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.7514, allocations: 0.7927 MB / 1.044 GB, free: 9.68 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.7515, allocations: 35.44 kB / 1.044 GB, free: 9.645 MB / 0.795 GB Notification: Performance of SimCode: time 1.032e-06/0.7515, allocations: 0 / 1.044 GB, free: 9.645 MB / 0.795 GB Notification: Performance of Templates: time 0.01111/0.7626, allocations: 5.554 MB / 1.05 GB, free: 4.145 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/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