Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.002058/0.002058, allocations: 99.78 kB / 16.4 MB, free: 6.5 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.001738/0.001738, allocations: 195.7 kB / 19.36 MB, free: 3.73 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.457/1.457, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.732/2.732, allocations: 437.1 MB / 0.7171 GB, free: 4.078 MB / 0.5762 GB " [Timeout remaining time 177] 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.RealExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 75.88 kB / 1.027 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9472/0.9492, allocations: 151.6 MB / 1.175 GB, free: 17.42 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002347/0.9516, allocations: 1.024 MB / 1.176 GB, free: 16.74 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.9535, allocations: 1.329 MB / 1.177 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.9536, allocations: 2.375 kB / 1.177 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.9538, allocations: 19.72 kB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.9539, allocations: 41.11 kB / 1.177 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.9547, allocations: 279.9 kB / 1.177 GB, free: 15.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.9552, allocations: 398.9 kB / 1.178 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.9554, allocations: 61.97 kB / 1.178 GB, free: 15.37 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.9556, allocations: 154.8 kB / 1.178 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.9558, allocations: 125.6 kB / 1.178 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.9559, allocations: 37.66 kB / 1.178 GB, free: 15.24 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.956, allocations: 65.41 kB / 1.178 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/0.9562, allocations: 54.55 kB / 1.178 GB, free: 15.2 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.9563, allocations: 134.5 kB / 1.178 GB, free: 15.12 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005821/0.9569, allocations: 406.1 kB / 1.179 GB, free: 14.97 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9569, allocations: 0 / 1.179 GB, free: 14.97 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9569, allocations: 1.312 kB / 1.179 GB, free: 14.97 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.9569, allocations: 0 / 1.179 GB, free: 14.97 MB / 0.92 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.0009515/0.9579, allocations: 0.6269 MB / 1.179 GB, free: 14.42 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.958, allocations: 9.969 kB / 1.179 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.958, allocations: 51.34 kB / 1.179 GB, free: 14.37 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.095e-05/0.9581, allocations: 29.39 kB / 1.179 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008954/0.959, allocations: 372.2 kB / 1.18 GB, free: 14.1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.959, allocations: 17.2 kB / 1.18 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.9591, allocations: 21.8 kB / 1.18 GB, free: 14.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.9596, allocations: 211.7 kB / 1.18 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.9596, allocations: 0 / 1.18 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.9596, allocations: 6.625 kB / 1.18 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.9597, allocations: 4.156 kB / 1.18 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.9602, allocations: 143 kB / 1.18 GB, free: 13.93 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.9614, allocations: 0.9075 MB / 1.181 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.9617, allocations: 148.3 kB / 1.181 GB, free: 13.06 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.962, allocations: 82.23 kB / 1.181 GB, free: 13.01 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.962, allocations: 6.078 kB / 1.181 GB, free: 13.01 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.9625, allocations: 172.4 kB / 1.181 GB, free: 12.89 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 2.905e-06/0.9625, allocations: 4 kB / 1.181 GB, free: 12.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0009426/0.9634, allocations: 254.5 kB / 1.182 GB, free: 12.81 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.9635, allocations: 166.7 kB / 1.182 GB, free: 12.61 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.9638, allocations: 221 kB / 1.182 GB, free: 12.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.9638, allocations: 31.7 kB / 1.182 GB, free: 12.45 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.9639, allocations: 160.8 kB / 1.182 GB, free: 12.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.964, allocations: 33.53 kB / 1.182 GB, free: 12.28 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.9641, allocations: 59.52 kB / 1.182 GB, free: 12.25 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.9642, allocations: 334.2 kB / 1.183 GB, free: 11.93 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.9646, allocations: 102.9 kB / 1.183 GB, free: 11.9 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.965, allocations: 174.6 kB / 1.183 GB, free: 11.78 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.9656, allocations: 270.2 kB / 1.183 GB, free: 11.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9656, allocations: 1.312 kB / 1.183 GB, free: 11.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008851/0.9665, allocations: 371.4 kB / 1.183 GB, free: 11.42 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.9666, allocations: 63.16 kB / 1.184 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.9666, allocations: 2.25 kB / 1.184 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.9666, allocations: 2.438 kB / 1.184 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.9668, allocations: 38.14 kB / 1.184 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.9668, allocations: 3.078 kB / 1.184 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.9673, allocations: 88.61 kB / 1.184 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.9674, allocations: 17.08 kB / 1.184 GB, free: 11.33 MB / 0.92 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 0.0001411/0.9675, allocations: 158.7 kB / 1.184 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.9676, allocations: 21.92 kB / 1.184 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.9676, allocations: 22.47 kB / 1.184 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.9676, allocations: 2.312 kB / 1.184 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.9677, allocations: 2.375 kB / 1.184 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.9677, allocations: 1.781 kB / 1.184 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.9679, allocations: 261.3 kB / 1.184 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9679, allocations: 0.7031 kB / 1.184 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.9681, allocations: 29.27 kB / 1.184 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.9681, allocations: 1.094 kB / 1.184 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.9681, allocations: 7.812 kB / 1.184 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.9681, allocations: 1.844 kB / 1.184 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.9681, allocations: 2 kB / 1.184 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.9687, allocations: 237.6 kB / 1.184 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.9688, allocations: 92.73 kB / 1.184 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.9688, allocations: 7.234 kB / 1.184 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.9689, allocations: 21.38 kB / 1.185 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.969, allocations: 14.3 kB / 1.185 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.969, allocations: 9.125 kB / 1.185 GB, free: 10.66 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001401/0.9692, allocations: 171 kB / 1.185 GB, free: 10.55 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9692, allocations: 0 / 1.185 GB, free: 10.55 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003492/0.9695, allocations: 55.05 kB / 1.185 GB, free: 10.54 MB / 0.92 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.000806/0.9704, allocations: 0.7878 MB / 1.186 GB, free: 9.867 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000753/0.9711, allocations: 333.5 kB / 1.186 GB, free: 9.684 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9711, allocations: 8.125 kB / 1.186 GB, free: 9.676 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.9714, allocations: 78.48 kB / 1.186 GB, free: 9.66 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.9718, allocations: 55.52 kB / 1.186 GB, free: 9.637 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.9754, allocations: 2.567 MB / 1.188 GB, free: 7.844 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.9756, allocations: 0.7481 MB / 1.189 GB, free: 7.141 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.9758, allocations: 33.89 kB / 1.189 GB, free: 7.133 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.5e-05/0.9759, allocations: 64.41 kB / 1.189 GB, free: 7.086 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.9759, allocations: 5.125 kB / 1.189 GB, free: 7.082 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/1.006, allocations: 5.354 MB / 1.195 GB, free: 5.129 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/9.363, allocations: 5.391 kB / 1.195 GB, free: 5.125 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.474784379126504]