Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002018/0.002019, allocations: 111.9 kB / 16.41 MB, free: 6.016 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.002073/0.002073, allocations: 190.6 kB / 17.34 MB, free: 5.629 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.498/1.498, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.661/2.661, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.99/0.992, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002212/0.9942, allocations: 0.8737 MB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.9962, allocations: 1.3 MB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.9963, allocations: 4 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.9964, allocations: 15.75 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.089e-05/0.9965, allocations: 39.77 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.9974, allocations: 256.6 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.9978, allocations: 351.2 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.998, allocations: 65.41 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.9982, allocations: 131.7 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.9984, allocations: 99.7 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.9985, allocations: 28 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.9986, allocations: 55.86 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.9987, allocations: 47.89 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.9988, allocations: 119.5 kB / 1.171 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004699/0.9993, allocations: 351.3 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9993, allocations: 0 / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9993, allocations: 0 / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.9994, allocations: 4 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008939/1, allocations: 0.5525 MB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1, allocations: 8.922 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/1, allocations: 28.8 kB / 1.172 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/1.001, allocations: 301.6 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/1.001, allocations: 16.38 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/1.001, allocations: 20.36 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/1.001, allocations: 155.8 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.001, allocations: 3.938 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/1.002, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/1.002, allocations: 7.984 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/1.002, allocations: 63.91 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008575/1.003, allocations: 0.747 MB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/1.003, allocations: 61.14 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/1.003, allocations: 33.77 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/1.003, allocations: 3.938 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/1.003, allocations: 97.05 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/1.003, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0003352/1.003, allocations: 125.5 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.003, allocations: 93.09 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/1.004, allocations: 207.8 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/1.004, allocations: 29.7 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/1.004, allocations: 148.2 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/1.004, allocations: 19.83 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/1.004, allocations: 69.67 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.004, allocations: 322.8 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/1.004, allocations: 75.89 kB / 1.174 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/1.004, allocations: 128.5 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/1.005, allocations: 202 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.005, allocations: 4 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005269/1.005, allocations: 288.8 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.533e-05/1.005, allocations: 74.23 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.005, allocations: 0 / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.005, allocations: 4 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.669e-05/1.005, allocations: 11.94 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.006, allocations: 7.984 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/1.006, allocations: 67.88 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/1.006, allocations: 12 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001727/1.006, allocations: 157.6 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/1.006, allocations: 19.89 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/1.006, allocations: 12.94 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.006, allocations: 4 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.006, allocations: 4 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.006, allocations: 0 / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/1.007, allocations: 233.5 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.007, allocations: 0 / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/1.007, allocations: 12.45 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.007, allocations: 0 / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/1.007, allocations: 4 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.007, allocations: 0 / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.007, allocations: 0 / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/1.007, allocations: 145.7 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/1.007, allocations: 89.02 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/1.007, allocations: 7.984 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.084e-05/1.007, allocations: 4 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/1.007, allocations: 4 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/1.007, allocations: 7.984 kB / 1.175 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001392/1.007, allocations: 140.2 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/1.007, allocations: 0 / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002754/1.007, allocations: 47.89 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001887/1.008, allocations: 117.5 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000419/1.008, allocations: 262.6 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.008, allocations: 0 / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.486e-05/1.008, allocations: 31.98 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/1.008, allocations: 40.3 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/1.009, allocations: 316.3 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/1.009, allocations: 0.7241 MB / 1.177 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.531e-05/1.009, allocations: 25.53 kB / 1.177 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/1.009, allocations: 15.44 kB / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/1.009, allocations: 0 / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of Templates: time 0.006519/1.016, allocations: 2.559 MB / 1.18 GB, free: 6.746 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches