Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008391/0.0008391, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000921/0.000921, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9111/0.9111, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.172e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001493/0.001514, allocations: 0.9484 MB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.002955, allocations: 1.366 MB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.003008, allocations: 4 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.27e-05/0.003091, allocations: 23.67 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.003161, allocations: 47.59 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.003664, allocations: 273.2 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.003937, allocations: 387.2 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.004055, allocations: 37.8 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.004245, allocations: 219.6 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.004367, allocations: 107.7 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.004405, allocations: 36 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.961e-05/0.004485, allocations: 55.86 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.004541, allocations: 59.77 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.942e-05/0.00462, allocations: 99.8 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.004921, allocations: 442.7 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.004923, allocations: 4 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004924, allocations: 0 / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.004929, allocations: 0 / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000612/0.005541, allocations: 0.5433 MB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.005577, allocations: 12.75 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.005609, allocations: 46.73 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.005839, allocations: 72.72 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.006322, allocations: 308.8 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.006345, allocations: 20.3 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.006372, allocations: 20.38 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.006622, allocations: 206.4 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.00663, allocations: 192 / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.006645, allocations: 8.359 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.006651, allocations: 7.938 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.00689, allocations: 143.7 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.007545, allocations: 0.8205 MB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.007711, allocations: 149 kB / 1.006 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.00782, allocations: 84.23 kB / 1.006 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.007832, allocations: 4 kB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.008091, allocations: 163.5 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.008092, allocations: 0 / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0004566/0.008549, allocations: 257.2 kB / 1.006 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.008607, allocations: 162.5 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.00875, allocations: 229.8 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.008774, allocations: 29.7 kB / 1.007 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.008855, allocations: 160.3 kB / 1.007 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.008877, allocations: 27.8 kB / 1.007 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.008944, allocations: 53.69 kB / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.009023, allocations: 334.8 kB / 1.007 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.009225, allocations: 167.2 kB / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.009449, allocations: 289.9 kB / 1.008 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.009738, allocations: 274.9 kB / 1.008 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.00974, allocations: 0 / 1.008 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000471/0.01021, allocations: 448.1 kB / 1.008 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.01025, allocations: 63.41 kB / 1.009 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01026, allocations: 4 kB / 1.009 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01027, allocations: 3.984 kB / 1.009 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.01036, allocations: 27.92 kB / 1.009 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01036, allocations: 7.984 kB / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.01071, allocations: 79.86 kB / 1.009 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.01073, allocations: 15.98 kB / 1.009 GB, free: 3.773 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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 9.79e-05/0.01083, allocations: 145.8 kB / 1.009 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.01085, allocations: 23.8 kB / 1.009 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.01089, allocations: 25.33 kB / 1.009 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.01089, allocations: 4 kB / 1.009 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.0109, allocations: 4 kB / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.0109, allocations: 0 / 1.009 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.01105, allocations: 224.6 kB / 1.009 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01105, allocations: 0 / 1.009 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.01112, allocations: 23.97 kB / 1.009 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01112, allocations: 4 kB / 1.009 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.01113, allocations: 0 / 1.009 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01113, allocations: 4 kB / 1.009 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01113, allocations: 0 / 1.009 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.01142, allocations: 252.1 kB / 1.009 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.01144, allocations: 23.8 kB / 1.009 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.01145, allocations: 4 kB / 1.009 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.853e-05/0.01151, allocations: 19.97 kB / 1.009 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.01156, allocations: 16.44 kB / 1.009 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.01157, allocations: 11.94 kB / 1.009 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.616e-05/0.01166, allocations: 165.2 kB / 1.01 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01166, allocations: 0 / 1.01 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001838/0.01184, allocations: 51.89 kB / 1.01 GB, free: 2.711 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0005043/0.01234, allocations: 0.7679 MB / 1.01 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.01277, allocations: 385.8 kB / 1.011 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01277, allocations: 448 / 1.011 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.01289, allocations: 75.88 kB / 1.011 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.01312, allocations: 50.42 kB / 1.011 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.01549, allocations: 2.816 MB / 1.014 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.495e-05/0.01558, allocations: 136.9 kB / 1.014 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.057e-05/0.01566, allocations: 37.55 kB / 1.014 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.01573, allocations: 68.47 kB / 1.014 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of SimCode: time 4.7e-07/0.01573, allocations: 0 / 1.014 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.03562, allocations: 6.22 MB / 1.02 GB, free: 8.066 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/6.668, allocations: 16 kB / 1.02 GB, free: 8.051 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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: 10.754897652193904]