Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_11_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.006926/0.006926, allocations: 99.31 kB / 15.73 MB, free: 6.059 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.001816/0.001816, allocations: 191.9 kB / 16.68 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 1.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 63.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6649/0.6667, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002256/0.669, allocations: 0.8635 MB / 1.221 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.671, allocations: 1.303 MB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.6711, allocations: 0 / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.6712, allocations: 15.8 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.909e-05/0.6713, allocations: 31.72 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007665/0.6721, allocations: 257.1 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000409/0.6725, allocations: 351.3 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.6727, allocations: 57.42 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.6728, allocations: 135.7 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.673, allocations: 107.6 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/0.6731, allocations: 32 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.6732, allocations: 55.91 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.6733, allocations: 39.92 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.6735, allocations: 123.4 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.6739, allocations: 354.5 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6739, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6739, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.6739, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9512 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.0007422/0.6746, allocations: 0.5525 MB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.6747, allocations: 12.03 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.6747, allocations: 46.73 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.6748, allocations: 28.8 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006287/0.6754, allocations: 296 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.6755, allocations: 12.38 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.6755, allocations: 20.38 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.6758, allocations: 149.3 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6758, allocations: 7.938 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.6758, allocations: 4 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6758, allocations: 4 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.676, allocations: 67.89 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/0.6768, allocations: 0.7595 MB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.6769, allocations: 57.2 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.677, allocations: 21.77 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.677, allocations: 11.98 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.6772, allocations: 97.03 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.6772, allocations: 0 / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0002835/0.6775, allocations: 125.5 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.6776, allocations: 81.11 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.6778, allocations: 219.7 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.6778, allocations: 29.7 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.678, allocations: 152.2 kB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.678, allocations: 19.84 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.6781, allocations: 65.67 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6783, allocations: 330.8 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.6784, allocations: 63.95 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.6786, allocations: 136.5 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.6789, allocations: 198.2 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6789, allocations: 0 / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004676/0.6794, allocations: 288.8 kB / 1.227 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.6794, allocations: 67.39 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6794, allocations: 8.188 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6795, allocations: 4 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.6795, allocations: 7.938 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6795, allocations: 7.984 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.6799, allocations: 71.81 kB / 1.228 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.68, allocations: 12 kB / 1.228 GB, free: 9.945 MB / 0.9512 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.0001453/0.6801, allocations: 153.7 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.6801, allocations: 19.89 kB / 1.228 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.6802, allocations: 16.94 kB / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6802, allocations: 0 / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6802, allocations: 0 / 1.228 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6802, allocations: 4 kB / 1.228 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.6804, allocations: 233.5 kB / 1.228 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6804, allocations: 0 / 1.228 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/0.6805, allocations: 7.984 kB / 1.228 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6805, allocations: 7.938 kB / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.6805, allocations: 0 / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6805, allocations: 4 kB / 1.228 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6805, allocations: 0 / 1.228 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.6807, allocations: 137.8 kB / 1.228 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.6807, allocations: 89.02 kB / 1.228 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.6808, allocations: 7.984 kB / 1.228 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.065e-05/0.6808, allocations: 4 kB / 1.228 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.6808, allocations: 11.94 kB / 1.228 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.6809, allocations: 4 kB / 1.228 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001263/0.681, allocations: 153.5 kB / 1.228 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.681, allocations: 0 / 1.228 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002554/0.6813, allocations: 47.89 kB / 1.229 GB, free: 8.961 MB / 0.9512 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.0005098/0.6818, allocations: 0.6859 MB / 1.229 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.6822, allocations: 255.2 kB / 1.229 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6822, allocations: 0 / 1.229 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.6822, allocations: 32.2 kB / 1.229 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.6825, allocations: 40.38 kB / 1.23 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.685, allocations: 2.164 MB / 1.232 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.6854, allocations: 0.7319 MB / 1.232 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.612e-05/0.6855, allocations: 25.53 kB / 1.232 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.6855, allocations: 55.36 kB / 1.232 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.6855, allocations: 4 kB / 1.232 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1644/0.8499, allocations: 4.381 MB / 1.237 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.68, allocations: 18.2 kB / 1.237 GB, free: 0.543 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches