Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008079/0.0008079, 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.000922/0.000922, 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.8751/0.8751, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.664/1.664, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.375e-05, allocations: 4.953 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001708/0.001732, allocations: 0.9542 MB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.003356, allocations: 1.362 MB / 0.9528 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.003428, allocations: 3.938 kB / 0.9528 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.003549, allocations: 23.8 kB / 0.9528 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.832e-05/0.003637, allocations: 47.59 kB / 0.9528 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.004248, allocations: 281.8 kB / 0.9531 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.004569, allocations: 379.2 kB / 0.9535 GB, free: 472 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.00472, allocations: 45.77 kB / 0.9535 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.004925, allocations: 211.6 kB / 0.9537 GB, free: 212 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.005064, allocations: 115.7 kB / 0.9538 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.005104, allocations: 32 kB / 0.9538 GB, free: 64 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.005194, allocations: 55.91 kB / 0.9539 GB, free: 8 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/0.005278, allocations: 59.77 kB / 0.954 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.395e-05/0.005372, allocations: 103.8 kB / 0.9541 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.005719, allocations: 438.7 kB / 0.9545 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005722, allocations: 0 / 0.9545 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.874e-06/0.005724, allocations: 0 / 0.9545 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5e-06/0.005729, allocations: 4 kB / 0.9545 GB, free: 15.41 MB / 0.9167 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.0007061/0.006435, allocations: 0.5472 MB / 0.955 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.006475, allocations: 8.031 kB / 0.955 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.006514, allocations: 54.72 kB / 0.9551 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.006771, allocations: 76.69 kB / 0.9551 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.007305, allocations: 312.8 kB / 0.9554 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.007333, allocations: 12.38 kB / 0.9555 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.007363, allocations: 20.38 kB / 0.9555 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.00765, allocations: 206.8 kB / 0.9557 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.007658, allocations: 192 / 0.9557 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.007674, allocations: 8.375 kB / 0.9557 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.007682, allocations: 7.938 kB / 0.9557 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.007935, allocations: 143.8 kB / 0.9558 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.008663, allocations: 0.8204 MB / 0.9566 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.00885, allocations: 145.1 kB / 0.9568 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.008969, allocations: 84.11 kB / 0.9568 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.008983, allocations: 0 / 0.9568 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002925/0.009275, allocations: 171.5 kB / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.009277, allocations: 0 / 0.957 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0005057/0.009782, allocations: 257.5 kB / 0.9573 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.009851, allocations: 162.2 kB / 0.9574 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.01001, allocations: 221.8 kB / 0.9576 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.01004, allocations: 29.7 kB / 0.9576 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.01013, allocations: 164.4 kB / 0.9578 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.01015, allocations: 27.8 kB / 0.9578 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.01023, allocations: 53.88 kB / 0.9579 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.01032, allocations: 330.8 kB / 0.9582 GB, free: 11.28 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.01054, allocations: 167.3 kB / 0.9584 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.01078, allocations: 290.4 kB / 0.9586 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.0111, allocations: 274.9 kB / 0.9589 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.0111, allocations: 4 kB / 0.9589 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006833/0.01178, allocations: 439.9 kB / 0.9593 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.01183, allocations: 71.39 kB / 0.9594 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01184, allocations: 4.156 kB / 0.9594 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01185, allocations: 8 kB / 0.9594 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.01195, allocations: 27.91 kB / 0.9594 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01195, allocations: 4 kB / 0.9594 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.01216, allocations: 79.8 kB / 0.9595 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.01218, allocations: 12 kB / 0.9595 GB, free: 9.777 MB / 0.9167 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.0001139/0.01229, allocations: 153.8 kB / 0.9597 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.01232, allocations: 23.8 kB / 0.9597 GB, free: 9.594 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.01236, allocations: 25.33 kB / 0.9597 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01236, allocations: 0 / 0.9597 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.01237, allocations: 4.469 kB / 0.9597 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01237, allocations: 0 / 0.9597 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.01253, allocations: 216.6 kB / 0.9599 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.01253, allocations: 7.984 kB / 0.9599 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.606e-05/0.0126, allocations: 23.98 kB / 0.96 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.0126, allocations: 0 / 0.96 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.01261, allocations: 7.984 kB / 0.96 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01262, allocations: 4 kB / 0.96 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.01262, allocations: 7.984 kB / 0.96 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.01294, allocations: 248.1 kB / 0.9602 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.01296, allocations: 23.84 kB / 0.9602 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.01298, allocations: 0 / 0.9602 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.01304, allocations: 19.97 kB / 0.9603 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.01309, allocations: 15.98 kB / 0.9603 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.0131, allocations: 4 kB / 0.9603 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.344e-05/0.01319, allocations: 161.2 kB / 0.9604 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01319, allocations: 0 / 0.9604 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002121/0.0134, allocations: 59.81 kB / 0.9605 GB, free: 8.703 MB / 0.9167 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.0005531/0.01396, allocations: 0.7757 MB / 0.9612 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.01444, allocations: 389.9 kB / 0.9616 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01444, allocations: 0 / 0.9616 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.01459, allocations: 76.42 kB / 0.9617 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01483, allocations: 48.47 kB / 0.9617 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.01746, allocations: 2.812 MB / 0.9645 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.555e-05/0.01755, allocations: 132.8 kB / 0.9646 GB, free: 4.164 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.246e-05/0.01764, allocations: 41.61 kB / 0.9646 GB, free: 4.125 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.01772, allocations: 64.48 kB / 0.9647 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/0.01772, allocations: 0 / 0.9647 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.03593, allocations: 6.219 MB / 0.9708 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.822/6.858, allocations: 6.344 kB / 0.9708 GB, free: 14.07 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.846947634592652]