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.001237/0.001237, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001259/0.001259, allocations: 189.8 kB / 16.25 MB, free: 6.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.281/1.281, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.454/2.454, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.89 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6367/0.6387, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002606/0.6414, allocations: 0.9437 MB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.6435, allocations: 1.288 MB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.6436, allocations: 4 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.6438, allocations: 15.81 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.6439, allocations: 23.78 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000884/0.6448, allocations: 235.6 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.6453, allocations: 343.4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.6455, allocations: 61.45 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.6457, allocations: 131.7 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.6461, allocations: 127.6 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.955e-05/0.6462, allocations: 28 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.6463, allocations: 43.98 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.6464, allocations: 51.78 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.6466, allocations: 111.5 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.647, allocations: 329.3 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.647, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.867e-06/0.647, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.647, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 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.0008873/0.6479, allocations: 0.5448 MB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.648, allocations: 8.031 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.648, allocations: 38.75 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.6481, allocations: 32.66 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.6489, allocations: 303.9 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.6489, allocations: 12.38 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.6489, allocations: 20.38 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.6492, allocations: 154.8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6492, allocations: 7.922 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.6493, allocations: 8 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.6493, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.6494, allocations: 71.83 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008574/0.6503, allocations: 0.7546 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.988e-05/0.6504, allocations: 53.2 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.6504, allocations: 29.72 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.6504, allocations: 0 / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.6507, allocations: 97.08 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.6507, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003069/0.651, allocations: 125.4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.6511, allocations: 85.11 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.6513, allocations: 216.6 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.6513, allocations: 29.7 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.6515, allocations: 143.8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.6515, allocations: 15.75 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.6516, allocations: 65.67 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6517, allocations: 330.8 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.6519, allocations: 71.89 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.6521, allocations: 114.8 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.6523, allocations: 198.1 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6523, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004944/0.6528, allocations: 288.7 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.6529, allocations: 63.39 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6529, allocations: 8.188 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.6529, allocations: 0 / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.409e-05/0.653, allocations: 15.94 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.653, allocations: 7.984 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.6534, allocations: 43.95 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.6534, allocations: 15.98 kB / 1.024 GB, free: 10.66 MB / 0.7794 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.0001653/0.6536, allocations: 158.2 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.6536, allocations: 15.8 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.6537, allocations: 20.94 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6537, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6537, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6537, allocations: 3.938 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.6539, allocations: 233.5 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6539, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.6539, allocations: 4 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.654, allocations: 11.98 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.654, allocations: 4.406 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.654, allocations: 4 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.654, allocations: 4 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.6542, allocations: 137.6 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.6542, allocations: 92.91 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.6543, allocations: 8 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.153e-05/0.6543, allocations: 7.984 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.6544, allocations: 4 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.6544, allocations: 4 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000123/0.6545, allocations: 152.5 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6545, allocations: 0 / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002694/0.6548, allocations: 43.84 kB / 1.025 GB, free: 9.672 MB / 0.7794 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.0005462/0.6553, allocations: 0.6841 MB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.6557, allocations: 254.7 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6557, allocations: 0 / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/0.6558, allocations: 35.92 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.6561, allocations: 36.45 kB / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.6589, allocations: 2.202 MB / 1.028 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.6593, allocations: 0.7279 MB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.342e-05/0.6594, allocations: 17.55 kB / 1.029 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.6595, allocations: 59.41 kB / 1.029 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.6595, allocations: 7.938 kB / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.6756, allocations: 4.082 MB / 1.033 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.6759, allocations: 214.6 kB / 1.033 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.383, allocations: 5.719 kB / 1.033 GB, free: 1.297 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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