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.01011/0.01011, allocations: 102.4 kB / 15.73 MB, free: 6.008 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.001847/0.001847, allocations: 198.5 kB / 16.68 MB, free: 5.93 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.472/2.472, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.00207, allocations: 63.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8283, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002233/0.8305, allocations: 0.8771 MB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.8323, allocations: 1.296 MB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.852e-05/0.8324, allocations: 4 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.8325, allocations: 15.8 kB / 1.168 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.8326, allocations: 35.72 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008186/0.8335, allocations: 264.8 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004226/0.8339, allocations: 351.2 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.8341, allocations: 63.7 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.8343, allocations: 131.7 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.8345, allocations: 107.7 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.8345, allocations: 28 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.8347, allocations: 51.97 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.998e-05/0.8348, allocations: 43.86 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.8349, allocations: 123.4 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.8353, allocations: 354.9 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.8353, allocations: 0 / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of FrontEnd: time 3.046e-06/0.8353, allocations: 0 / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.8353, allocations: 3.938 kB / 1.17 GB, free: 24 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.0008035/0.8361, allocations: 0.5449 MB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.8362, allocations: 8.922 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.8362, allocations: 42.75 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.47e-05/0.8363, allocations: 28.73 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.837, allocations: 293.5 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.837, allocations: 20.31 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.8371, allocations: 16.38 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.8373, allocations: 149.4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.8374, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.8374, allocations: 4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.8374, allocations: 4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.8375, allocations: 75.83 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.8384, allocations: 0.7544 MB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.8385, allocations: 61.23 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.8386, allocations: 21.78 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.8386, allocations: 4 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.8388, allocations: 101 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.8388, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0002954/0.8391, allocations: 125.4 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.8391, allocations: 81.11 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.8394, allocations: 215.7 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.8394, allocations: 33.7 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.8395, allocations: 144.1 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.8396, allocations: 19.73 kB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.8397, allocations: 65.67 kB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.8398, allocations: 330.8 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.84, allocations: 63.91 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.8402, allocations: 136.5 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.8404, allocations: 194.2 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.8405, allocations: 4 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005065/0.841, allocations: 292.6 kB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.841, allocations: 71.39 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8411, allocations: 4.188 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.8411, allocations: 4 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.8411, allocations: 8 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.8412, allocations: 15.91 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.8416, allocations: 63.84 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.8416, allocations: 11.98 kB / 1.174 GB, free: 11.67 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.0001684/0.8418, allocations: 154.4 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.8418, allocations: 19.8 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.8419, allocations: 13.41 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8419, allocations: 4 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8419, allocations: 0 / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.8419, allocations: 0 / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.8421, allocations: 237.5 kB / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8421, allocations: 3.984 kB / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.8422, allocations: 11.92 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8422, allocations: 4 kB / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.8422, allocations: 4 kB / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8422, allocations: 0 / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8422, allocations: 0 / 1.174 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.8424, allocations: 137.7 kB / 1.174 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.8424, allocations: 88.92 kB / 1.174 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.8425, allocations: 3.984 kB / 1.174 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.148e-05/0.8425, allocations: 12 kB / 1.174 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.8425, allocations: 4 kB / 1.174 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.8426, allocations: 0 / 1.174 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001213/0.8427, allocations: 152.1 kB / 1.174 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8427, allocations: 0 / 1.174 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002966/0.843, allocations: 43.84 kB / 1.174 GB, free: 10.7 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.0005553/0.8436, allocations: 0.6973 MB / 1.175 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003921/0.844, allocations: 254.6 kB / 1.175 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.844, allocations: 0 / 1.175 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.844, allocations: 31.98 kB / 1.175 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.8443, allocations: 43 kB / 1.175 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.8468, allocations: 2.155 MB / 1.178 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.8471, allocations: 0.7241 MB / 1.178 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.689e-05/0.8472, allocations: 25.53 kB / 1.178 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.8473, allocations: 55.42 kB / 1.178 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.8473, allocations: 4 kB / 1.178 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.8693, allocations: 4.395 MB / 1.183 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.727, allocations: 2.484 kB / 1.183 GB, free: 2.277 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 & /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