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.001343/0.001344, allocations: 105.3 kB / 16.41 MB, free: 6.414 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.001439/0.001439, allocations: 191.6 kB / 17.34 MB, free: 5.691 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.14 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.542/2.542, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 59.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8118, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002183/0.8141, allocations: 0.8902 MB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.816, allocations: 1.292 MB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.8162, allocations: 3.938 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.8163, allocations: 23.8 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.8165, allocations: 27.78 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.8173, allocations: 261.5 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.8178, allocations: 355.1 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.818, allocations: 57.47 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.8182, allocations: 131.7 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.8184, allocations: 99.62 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.8185, allocations: 39.94 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.8186, allocations: 51.98 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.8187, allocations: 39.91 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.8188, allocations: 119.5 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.8193, allocations: 351.3 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8193, allocations: 0 / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8193, allocations: 0 / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.8193, allocations: 0 / 1.171 GB, free: 128 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.0007967/0.8201, allocations: 0.5527 MB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.8201, allocations: 16.92 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.989e-05/0.8202, allocations: 24.8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.8209, allocations: 305.6 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.8209, allocations: 12.38 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.821, allocations: 20.38 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.8212, allocations: 148.6 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8213, allocations: 3.938 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.8213, allocations: 11.98 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.8213, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.8214, allocations: 67.91 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.8223, allocations: 0.7587 MB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.8224, allocations: 61.08 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.8224, allocations: 25.77 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.8224, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.8227, allocations: 105 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.8227, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0002917/0.823, allocations: 125.5 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.823, allocations: 81.09 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.8232, allocations: 211.7 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.8233, allocations: 41.7 kB / 1.173 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.8234, allocations: 144.2 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.8234, allocations: 27.77 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.8235, allocations: 65.67 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8237, allocations: 326.8 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.8238, allocations: 67.89 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.824, allocations: 132.5 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.8243, allocations: 198.1 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8243, allocations: 0 / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005046/0.8248, allocations: 288.8 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.8249, allocations: 71.33 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.8249, allocations: 4 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.8249, allocations: 0 / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.825, allocations: 12.17 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.825, allocations: 8 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.8254, allocations: 68.5 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.8254, allocations: 12 kB / 1.175 GB, free: 11.8 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.0001598/0.8256, allocations: 157.6 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.8256, allocations: 15.91 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.8257, allocations: 20.94 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8257, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8257, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8257, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.8259, allocations: 233.5 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.826, allocations: 0 / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.826, allocations: 11.98 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.826, allocations: 0 / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.826, allocations: 0 / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.826, allocations: 0 / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.826, allocations: 8 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.8262, allocations: 137.7 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.8263, allocations: 89.02 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.8263, allocations: 7.984 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.337e-05/0.8263, allocations: 4 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.8264, allocations: 4 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.8264, allocations: 11.98 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001168/0.8265, allocations: 144.2 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.593e-06/0.8265, allocations: 0 / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002933/0.8268, allocations: 47.83 kB / 1.176 GB, free: 10.82 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.0001636/0.827, allocations: 114 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.8274, allocations: 258.6 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.8274, allocations: 4.375 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.8275, allocations: 36.2 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.8278, allocations: 39.98 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.8283, allocations: 338.2 kB / 1.176 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.8286, allocations: 0.728 MB / 1.177 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.8287, allocations: 19.44 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.8287, allocations: 0 / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of Templates: time 0.004891/0.8336, allocations: 2.598 MB / 1.18 GB, free: 6.645 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 -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