Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 109.5 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.265/3.265, allocations: 497.2 MB / 0.7811 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 68.39 kB / 1.134 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3971, allocations: 173.9 MB / 1.304 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002791/0.3999, allocations: 0.8715 MB / 1.305 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.4022, allocations: 1.295 MB / 1.306 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.4024, allocations: 11.94 kB / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.4025, allocations: 15.8 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.4026, allocations: 31.78 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.4037, allocations: 266.6 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000555/0.4042, allocations: 323.4 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.4044, allocations: 53.34 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002829/0.4047, allocations: 131.7 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.405, allocations: 115.5 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.54e-05/0.405, allocations: 28 kB / 1.307 GB, free: 14.42 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.4052, allocations: 59.97 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.4053, allocations: 47.84 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.4054, allocations: 115.5 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004819/0.4059, allocations: 350.7 kB / 1.308 GB, free: 13.86 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4059, allocations: 0 / 1.308 GB, free: 13.86 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4059, allocations: 0 / 1.308 GB, free: 13.86 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4059, allocations: 0 / 1.308 GB, free: 13.86 MB / 1.014 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.0008488/0.4068, allocations: 0.5565 MB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.4068, allocations: 8.922 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.478e-05/0.4069, allocations: 42.73 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.31e-05/0.407, allocations: 28.8 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/0.4076, allocations: 296.7 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.4077, allocations: 16.38 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.4077, allocations: 16.38 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.408, allocations: 161.3 kB / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.408, allocations: 0 / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.408, allocations: 4 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.408, allocations: 4 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.4082, allocations: 63.91 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009567/0.4091, allocations: 0.7585 MB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.4092, allocations: 57.23 kB / 1.31 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.4093, allocations: 25.77 kB / 1.31 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.4093, allocations: 11.98 kB / 1.31 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.4095, allocations: 101 kB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.4095, allocations: 0 / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0003145/0.4098, allocations: 121.6 kB / 1.31 GB, free: 11.37 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.4099, allocations: 89.05 kB / 1.31 GB, free: 11.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.4102, allocations: 211.8 kB / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.4102, allocations: 29.7 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.4103, allocations: 140.3 kB / 1.31 GB, free: 10.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.4104, allocations: 15.91 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.4105, allocations: 69.67 kB / 1.31 GB, free: 10.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4107, allocations: 326.8 kB / 1.311 GB, free: 10.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.4108, allocations: 67.95 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.411, allocations: 132.5 kB / 1.311 GB, free: 10.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.4113, allocations: 202.1 kB / 1.311 GB, free: 9.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4113, allocations: 0 / 1.311 GB, free: 9.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005334/0.4118, allocations: 296.7 kB / 1.311 GB, free: 9.672 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.4119, allocations: 67.39 kB / 1.311 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4119, allocations: 4.188 kB / 1.311 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4119, allocations: 4 kB / 1.311 GB, free: 9.586 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.412, allocations: 11.98 kB / 1.311 GB, free: 9.574 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.412, allocations: 0 / 1.311 GB, free: 9.574 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.4124, allocations: 75.81 kB / 1.311 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.4124, allocations: 12 kB / 1.311 GB, free: 9.488 MB / 1.014 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.0002016/0.4126, allocations: 164.5 kB / 1.312 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.4127, allocations: 15.91 kB / 1.312 GB, free: 9.305 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.4127, allocations: 12.94 kB / 1.312 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4127, allocations: 4 kB / 1.312 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4127, allocations: 0 / 1.312 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.4127, allocations: 3.984 kB / 1.312 GB, free: 9.281 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.413, allocations: 237.5 kB / 1.312 GB, free: 9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.413, allocations: 0 / 1.312 GB, free: 9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.413, allocations: 4 kB / 1.312 GB, free: 8.996 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.413, allocations: 4 kB / 1.312 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.413, allocations: 4 kB / 1.312 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.413, allocations: 0 / 1.312 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.413, allocations: 7.938 kB / 1.312 GB, free: 8.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.4132, allocations: 137.8 kB / 1.312 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.4133, allocations: 96.94 kB / 1.312 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.4134, allocations: 0 / 1.312 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.4134, allocations: 8 kB / 1.312 GB, free: 8.703 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.4134, allocations: 11.98 kB / 1.312 GB, free: 8.691 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.4134, allocations: 0 / 1.312 GB, free: 8.691 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001417/0.4136, allocations: 144.2 kB / 1.312 GB, free: 8.551 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4136, allocations: 0 / 1.312 GB, free: 8.551 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002908/0.4139, allocations: 43.94 kB / 1.312 GB, free: 8.508 MB / 1.014 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.0006555/0.4145, allocations: 0.6911 MB / 1.313 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.4149, allocations: 239.1 kB / 1.313 GB, free: 7.527 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4149, allocations: 3.938 kB / 1.313 GB, free: 7.523 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/0.415, allocations: 24.27 kB / 1.313 GB, free: 7.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.4153, allocations: 40.38 kB / 1.313 GB, free: 7.461 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.4183, allocations: 2.18 MB / 1.315 GB, free: 5.137 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.4187, allocations: 0.7319 MB / 1.316 GB, free: 4.379 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.809e-05/0.4188, allocations: 17.55 kB / 1.316 GB, free: 4.363 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.4188, allocations: 55.42 kB / 1.316 GB, free: 4.309 MB / 1.014 GB Notification: Performance of SimCode: time 8.21e-07/0.4188, allocations: 4 kB / 1.316 GB, free: 4.305 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.4493, allocations: 4.396 MB / 1.32 GB, free: 92 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.66, allocations: 9.484 kB / 1.32 GB, free: 84 kB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.571496227756143]