Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.525/1.525, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 180.9 kB / 316.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.3 MB / 0.5671 GB, free: 15.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007993/0.0007993, allocations: 95.05 kB / 0.6714 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.304e-05/1.318e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 106.3 MB / 0.8852 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6239/0.7878, allocations: 132 MB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.788, allocations: 68.66 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006281/0.7943, allocations: 2.059 MB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.816e-06/0.7944, allocations: 0 / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.7944, allocations: 7.938 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008168/0.7952, allocations: 488 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7953, allocations: 12.03 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.7953, allocations: 15.81 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.7955, allocations: 212.2 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.7956, allocations: 4 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.7956, allocations: 11.98 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001586/0.7958, allocations: 53.69 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.796, allocations: 138.7 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.796, allocations: 0 / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.796, allocations: 3.953 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.796, allocations: 7.938 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.7972, allocations: 0.7849 MB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.7973, allocations: 130 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.7974, allocations: 61.28 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.7975, allocations: 4 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.7977, allocations: 140.3 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.7977, allocations: 4 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002536/0.7979, allocations: 122.8 kB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.798, allocations: 158.2 kB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.7981, allocations: 150.5 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.7982, allocations: 33.02 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.7982, allocations: 113.2 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.7983, allocations: 31.17 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.7983, allocations: 12.03 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.7984, allocations: 321.6 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.7985, allocations: 43.61 kB / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.7986, allocations: 64.3 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.071e-05/0.7986, allocations: 45.16 kB / 1.019 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.7986, allocations: 3.938 kB / 1.019 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002171/0.7989, allocations: 143 kB / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.7989, allocations: 4 kB / 1.019 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7989, allocations: 0 / 1.019 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.7989, allocations: 4 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.7992, allocations: 67.34 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.7993, allocations: 12.03 kB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.7996, allocations: 55.84 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.7996, allocations: 7.984 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 8.445e-05/0.7997, allocations: 108.4 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.7997, allocations: 15.86 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.505e-05/0.7998, allocations: 19.05 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7998, allocations: 4 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7998, allocations: 0 / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7998, allocations: 0 / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.8, allocations: 215.2 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.8002, allocations: 54.95 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8002, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.8003, allocations: 7.953 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8003, allocations: 4 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8003, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.8005, allocations: 226.6 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.8006, allocations: 85.02 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.8006, allocations: 7.984 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.8009, allocations: 47.95 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.801, allocations: 34.59 kB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.801, allocations: 11.36 kB / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.492e-05/0.8011, allocations: 116.5 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8011, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002275/0.8013, allocations: 27.91 kB / 1.021 GB, free: 15.33 MB / 0.6511 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 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001201/0.8014, allocations: 103.2 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.8016, allocations: 98.36 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8017, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.8018, allocations: 68.48 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.802, allocations: 26.61 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.8025, allocations: 199.1 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.8027, allocations: 0.7197 MB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.779e-05/0.8028, allocations: 24.86 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.8029, allocations: 14.75 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.8029, allocations: 0 / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.00368/0.8066, allocations: 1.672 MB / 1.023 GB, free: 12.46 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches