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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007077/0.007077, allocations: 99.92 kB / 15.73 MB, free: 6.055 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.00172/0.00172, allocations: 192.9 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.31/2.31, allocations: 222.9 MB / 240.4 MB, free: 15.15 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 4.365/4.365, allocations: 437.1 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003022/0.003022, allocations: 71.84 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536/1.539, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.003289/1.542, allocations: 0.8797 MB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002832/1.545, allocations: 1.292 MB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/1.545, allocations: 3.938 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/1.546, allocations: 15.8 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/1.546, allocations: 31.72 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/1.547, allocations: 257.3 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006082/1.548, allocations: 355.2 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/1.548, allocations: 53.47 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/1.548, allocations: 135.7 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/1.548, allocations: 111.6 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.254e-05/1.549, allocations: 28 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/1.549, allocations: 51.97 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/1.549, allocations: 43.86 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002082/1.549, allocations: 119.5 kB / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006089/1.55, allocations: 350.5 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.55, allocations: 0 / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.515e-06/1.55, allocations: 0 / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.55, allocations: 0 / 1.17 GB, free: 32 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.001112/1.551, allocations: 0.5603 MB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/1.551, allocations: 8.922 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.975e-05/1.551, allocations: 42.75 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/1.551, allocations: 36.72 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/1.552, allocations: 293.7 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/1.552, allocations: 12.38 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/1.552, allocations: 24.38 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/1.553, allocations: 157.3 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.553, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/1.553, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/1.553, allocations: 4 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/1.553, allocations: 67.89 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/1.554, allocations: 0.7547 MB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/1.554, allocations: 61.23 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/1.554, allocations: 25.78 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/1.554, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/1.555, allocations: 105 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/1.555, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.000526/1.555, allocations: 125.5 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.769e-05/1.555, allocations: 89.05 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/1.556, allocations: 219.7 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/1.556, allocations: 29.7 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/1.556, allocations: 148.2 kB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/1.556, allocations: 19.89 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/1.556, allocations: 65.67 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002327/1.556, allocations: 330.8 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/1.557, allocations: 63.97 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/1.557, allocations: 133.9 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/1.557, allocations: 194.2 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.558, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007564/1.558, allocations: 292.7 kB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.603e-05/1.558, allocations: 78.08 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.558, allocations: 0 / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/1.558, allocations: 4 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/1.559, allocations: 8 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.559, allocations: 3.984 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006279/1.559, allocations: 67.83 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/1.559, allocations: 15.98 kB / 1.174 GB, free: 11.66 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.0002519/1.56, allocations: 154.4 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/1.56, allocations: 19.89 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.691e-05/1.56, allocations: 16.94 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.56, allocations: 0 / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.56, allocations: 7.938 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.56, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/1.56, allocations: 237.5 kB / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.56, allocations: 0 / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/1.56, allocations: 11.98 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.56, allocations: 0 / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/1.56, allocations: 4 kB / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.56, allocations: 4 kB / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.56, allocations: 0 / 1.174 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/1.56, allocations: 138.2 kB / 1.174 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/1.561, allocations: 92.95 kB / 1.174 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/1.561, allocations: 15.97 kB / 1.174 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/1.561, allocations: 0 / 1.174 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/1.561, allocations: 4 kB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/1.561, allocations: 4 kB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002171/1.561, allocations: 148.2 kB / 1.174 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/1.561, allocations: 0 / 1.174 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004455/1.561, allocations: 47.89 kB / 1.175 GB, free: 10.67 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.0007858/1.562, allocations: 0.6856 MB / 1.175 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005662/1.563, allocations: 254.7 kB / 1.175 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/1.563, allocations: 3.938 kB / 1.175 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/1.563, allocations: 27.98 kB / 1.175 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/1.563, allocations: 44.28 kB / 1.176 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/1.567, allocations: 2.173 MB / 1.178 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005677/1.568, allocations: 0.728 MB / 1.178 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001298/1.568, allocations: 21.53 kB / 1.178 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/1.568, allocations: 55.42 kB / 1.178 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of SimCode: time 6.71e-07/1.568, allocations: 0 / 1.178 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/1.608, allocations: 4.386 MB / 1.183 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/14, allocations: 8.594 kB / 1.183 GB, free: 2.246 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.csv","/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