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.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.001417/0.001417, allocations: 109 kB / 17.54 MB, free: 4.746 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.001469/0.001469, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.477/2.477, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.0018/0.0018, allocations: 67.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.742/0.7438, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001933/0.7458, allocations: 1.023 MB / 1.272 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.7473, allocations: 1.33 MB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.7474, allocations: 6.25 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.7475, allocations: 16.36 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.02e-05/0.7476, allocations: 52.31 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.7482, allocations: 276.5 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.7486, allocations: 374.2 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.7487, allocations: 53.06 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.7489, allocations: 153.7 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.749, allocations: 135.6 kB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.34e-05/0.7491, allocations: 38.28 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.7492, allocations: 52.47 kB / 1.275 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.7493, allocations: 60.39 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.7494, allocations: 134.2 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.7498, allocations: 414.7 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.7498, allocations: 0 / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7498, allocations: 4.594 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7498, allocations: 0 / 1.275 GB, free: 5.277 MB / 0.9981 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.0007923/0.7506, allocations: 0.6189 MB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.7506, allocations: 9.094 kB / 1.276 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.7506, allocations: 46.23 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.7507, allocations: 38.19 kB / 1.276 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008213/0.7515, allocations: 367.7 kB / 1.276 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.7516, allocations: 18.11 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.7516, allocations: 21.31 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.752, allocations: 214.2 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.752, allocations: 0.9375 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.752, allocations: 5.812 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.752, allocations: 2.656 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.7525, allocations: 149 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00088/0.7534, allocations: 0.9049 MB / 1.278 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.7537, allocations: 150.3 kB / 1.278 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.7539, allocations: 84.41 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.7539, allocations: 4.453 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003295/0.7542, allocations: 175 kB / 1.278 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.7542, allocations: 0 / 1.278 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0008468/0.7551, allocations: 257.7 kB / 1.278 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.7551, allocations: 158 kB / 1.278 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.7553, allocations: 230.1 kB / 1.279 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.7553, allocations: 35.41 kB / 1.279 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.7554, allocations: 156.7 kB / 1.279 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.7554, allocations: 30.59 kB / 1.279 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.7556, allocations: 59.05 kB / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.7556, allocations: 334.5 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.7559, allocations: 98.91 kB / 1.279 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.7563, allocations: 172.2 kB / 1.28 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.7568, allocations: 273.9 kB / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7568, allocations: 0 / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008224/0.7576, allocations: 381.5 kB / 1.28 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.7577, allocations: 64.45 kB / 1.28 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.7577, allocations: 2.125 kB / 1.28 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7577, allocations: 2.188 kB / 1.28 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.7579, allocations: 33.69 kB / 1.28 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.7579, allocations: 4.156 kB / 1.28 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.7584, allocations: 87.8 kB / 1.28 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.7584, allocations: 17.2 kB / 1.28 GB, free: 1.633 MB / 0.9981 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.0001278/0.7586, allocations: 151.4 kB / 1.281 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.7586, allocations: 32.78 kB / 1.281 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.7586, allocations: 23.14 kB / 1.281 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7586, allocations: 5.875 kB / 1.281 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.7586, allocations: 1.75 kB / 1.281 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7587, allocations: 2.562 kB / 1.281 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.7589, allocations: 256.7 kB / 1.281 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7589, allocations: 1.156 kB / 1.281 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.759, allocations: 24.8 kB / 1.281 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.759, allocations: 1.812 kB / 1.281 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.759, allocations: 3.281 kB / 1.281 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.759, allocations: 2.969 kB / 1.281 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.759, allocations: 4.531 kB / 1.281 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.7596, allocations: 242.9 kB / 1.281 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.7596, allocations: 92.02 kB / 1.281 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.7596, allocations: 3.438 kB / 1.281 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.7598, allocations: 21 kB / 1.281 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.7598, allocations: 14.7 kB / 1.281 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.7598, allocations: 13.41 kB / 1.281 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001251/0.76, allocations: 161.5 kB / 1.281 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.76, allocations: 1.469 kB / 1.281 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002996/0.7603, allocations: 54.95 kB / 1.281 GB, free: 0.8477 MB / 0.9981 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.0006993/0.761, allocations: 0.7816 MB / 1.282 GB, free: 180 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006719/0.7616, allocations: 312.6 kB / 1.283 GB, free: 0 / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7616, allocations: 0 / 1.283 GB, free: 0 / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.7619, allocations: 78.86 kB / 1.283 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.7622, allocations: 65.91 kB / 1.283 GB, free: 15.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.7659, allocations: 2.56 MB / 1.285 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.7663, allocations: 0.7453 MB / 1.286 GB, free: 13.46 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.7664, allocations: 41.92 kB / 1.286 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/0.7665, allocations: 65.45 kB / 1.286 GB, free: 13.39 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.7665, allocations: 0 / 1.286 GB, free: 13.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.7946, allocations: 5.34 MB / 1.291 GB, free: 12.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.969, allocations: 6.359 kB / 1.291 GB, free: 12.75 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/jenkins1/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: 13.245916515999852]