Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 100.1 kB / 15.88 MB, free: 12 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.001678/0.001679, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.71/2.71, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 68.81 kB / 0.8991 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3031, allocations: 157.4 MB / 1.053 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00236/0.3055, allocations: 1.063 MB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3074, allocations: 1.365 MB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3075, allocations: 7.938 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.3077, allocations: 15.86 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3078, allocations: 23.78 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007672/0.3086, allocations: 253.4 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000359/0.3089, allocations: 347.2 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.3091, allocations: 61.66 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.3094, allocations: 135.5 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.3097, allocations: 135.5 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.3098, allocations: 16 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3099, allocations: 35.98 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.31, allocations: 51.81 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.3101, allocations: 123.3 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.3104, allocations: 283.6 kB / 1.057 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3104, allocations: 0 / 1.057 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3104, allocations: 4 kB / 1.057 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.3105, allocations: 0 / 1.057 GB, free: 4.457 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001073/0.3115, allocations: 0.6072 MB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3116, allocations: 11.97 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.3117, allocations: 28.66 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009692/0.3127, allocations: 370.7 kB / 1.058 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.3127, allocations: 20.36 kB / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.3128, allocations: 20.38 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.3132, allocations: 194.4 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3132, allocations: 7.875 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.3133, allocations: 11.98 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3133, allocations: 4 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.3138, allocations: 143.8 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.3149, allocations: 0.9108 MB / 1.059 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.3153, allocations: 157 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.3155, allocations: 84.3 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3155, allocations: 0 / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004482/0.316, allocations: 167.5 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.316, allocations: 4 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0008472/0.3169, allocations: 257.3 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.3169, allocations: 158.2 kB / 1.06 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3172, allocations: 228.9 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.3172, allocations: 33.64 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3173, allocations: 156.3 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.3174, allocations: 31.64 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3175, allocations: 49.69 kB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3176, allocations: 334.8 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.3179, allocations: 95.92 kB / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.3183, allocations: 163.6 kB / 1.061 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.3189, allocations: 274.9 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.3189, allocations: 4 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008683/0.3197, allocations: 372.6 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/0.3198, allocations: 67.41 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3198, allocations: 4 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3199, allocations: 7.984 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.32, allocations: 19.98 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3201, allocations: 7.984 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.3205, allocations: 67.83 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.3205, allocations: 19.98 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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 0.0001558/0.3207, allocations: 151.3 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.3207, allocations: 15.81 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.3208, allocations: 25.23 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3208, allocations: 4 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3208, allocations: 4 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3208, allocations: 4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.3211, allocations: 257.4 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3211, allocations: 4 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.3212, allocations: 23.97 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3212, allocations: 0 / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3212, allocations: 4 kB / 1.062 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3213, allocations: 7.938 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3213, allocations: 0 / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.3218, allocations: 248 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.3219, allocations: 88.92 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.3219, allocations: 11.98 kB / 1.062 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.322, allocations: 15.92 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.3221, allocations: 19.97 kB / 1.062 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3221, allocations: 4 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001322/0.3223, allocations: 164.4 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3223, allocations: 4 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003054/0.3226, allocations: 51.84 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001538/0.3228, allocations: 107.2 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007212/0.3235, allocations: 334.6 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3235, allocations: 0 / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.3238, allocations: 92.61 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3242, allocations: 50.66 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.3249, allocations: 491.1 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3252, allocations: 0.744 MB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.3252, allocations: 19.44 kB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3252, allocations: 0 / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of Templates: time 0.005232/0.3305, allocations: 3.029 MB / 1.067 GB, free: 8.867 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches