Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001172/0.001172, allocations: 108.2 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.001161/0.001161, allocations: 186.7 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.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.32 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.49/2.49, allocations: 476.7 MB / 0.7628 GB, free: 15.16 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.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 71.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7776, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002041/0.7796, allocations: 1.366 MB / 1.273 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.7811, allocations: 1.56 MB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.7812, allocations: 2.781 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.7813, allocations: 31 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.7814, allocations: 76.44 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008921/0.7823, allocations: 0.5008 MB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.7828, allocations: 0.6508 MB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.783, allocations: 120.9 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.7832, allocations: 252.3 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.7835, allocations: 244.6 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.75e-05/0.7836, allocations: 72.97 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.7837, allocations: 79.02 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.034e-05/0.7838, allocations: 77.27 kB / 1.276 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.784, allocations: 249.6 kB / 1.277 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.7845, allocations: 0.6826 MB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7845, allocations: 0.9688 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7845, allocations: 0 / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.7845, allocations: 0 / 1.277 GB, free: 4.27 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0009728/0.7855, allocations: 0.9476 MB / 1.278 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.7856, allocations: 9.969 kB / 1.278 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.7856, allocations: 59.34 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.7857, allocations: 54.09 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.7868, allocations: 478.3 kB / 1.279 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.7869, allocations: 31.3 kB / 1.279 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.787, allocations: 40.98 kB / 1.279 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.7876, allocations: 322.8 kB / 1.279 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7876, allocations: 0.9062 kB / 1.279 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.7876, allocations: 16.61 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.7876, allocations: 5.656 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.7882, allocations: 251.8 kB / 1.279 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.7896, allocations: 0.9102 MB / 1.28 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.7902, allocations: 358.6 kB / 1.281 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004486/0.7907, allocations: 257.8 kB / 1.281 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.7907, allocations: 4.031 kB / 1.281 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.7912, allocations: 327.7 kB / 1.281 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.7912, allocations: 0 / 1.281 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.001343/0.7925, allocations: 0.8329 MB / 1.282 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.7926, allocations: 193.8 kB / 1.282 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.7928, allocations: 285.7 kB / 1.282 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.7928, allocations: 48.77 kB / 1.282 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.7929, allocations: 164.9 kB / 1.283 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.992e-05/0.793, allocations: 146.2 kB / 1.283 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.7932, allocations: 130.2 kB / 1.283 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.7933, allocations: 349.8 kB / 1.283 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.7938, allocations: 279.3 kB / 1.283 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.7943, allocations: 363.8 kB / 1.284 GB, free: 372 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.7954, allocations: 0.9135 MB / 1.285 GB, free: 15.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7954, allocations: 0 / 1.285 GB, free: 15.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001546/0.7969, allocations: 0.9963 MB / 1.286 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.7971, allocations: 262.4 kB / 1.286 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.7971, allocations: 6.766 kB / 1.286 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.7971, allocations: 3.719 kB / 1.286 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.7974, allocations: 68.83 kB / 1.286 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.7974, allocations: 8.875 kB / 1.286 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.7981, allocations: 143.5 kB / 1.286 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/0.7982, allocations: 68.2 kB / 1.286 GB, free: 14.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0002731/0.7984, allocations: 321.3 kB / 1.287 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.7985, allocations: 38.95 kB / 1.287 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.297e-05/0.7986, allocations: 39.3 kB / 1.287 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.7986, allocations: 5.781 kB / 1.287 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7986, allocations: 4 kB / 1.287 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.7986, allocations: 3.047 kB / 1.287 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.8003, allocations: 1.194 MB / 1.288 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8003, allocations: 0 / 1.288 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.8005, allocations: 65.52 kB / 1.288 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.8005, allocations: 0.8906 kB / 1.288 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.8005, allocations: 14.48 kB / 1.288 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8005, allocations: 6.031 kB / 1.288 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8005, allocations: 0.7031 kB / 1.288 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.8016, allocations: 0.7562 MB / 1.289 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.8017, allocations: 117.7 kB / 1.289 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.8017, allocations: 15.92 kB / 1.289 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.8019, allocations: 30.62 kB / 1.289 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.802, allocations: 39.14 kB / 1.289 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.785e-05/0.8021, allocations: 47.66 kB / 1.289 GB, free: 13.13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001784/0.8022, allocations: 196.3 kB / 1.289 GB, free: 13.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8022, allocations: 0 / 1.289 GB, free: 13.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003799/0.8026, allocations: 118.4 kB / 1.289 GB, free: 13 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.001398/0.804, allocations: 1.33 MB / 1.29 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.8054, allocations: 1.042 MB / 1.291 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8054, allocations: 0 / 1.291 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.806, allocations: 0.4945 MB / 1.292 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.8065, allocations: 100.8 kB / 1.292 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/0.813, allocations: 4.672 MB / 1.297 GB, free: 8.211 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.8134, allocations: 0.7918 MB / 1.297 GB, free: 7.508 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002212/0.8136, allocations: 96.08 kB / 1.297 GB, free: 7.488 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.8138, allocations: 118.8 kB / 1.298 GB, free: 7.406 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/0.8138, allocations: 0 / 1.298 GB, free: 7.406 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03393/0.8477, allocations: 9.854 MB / 1.307 GB, free: 6.484 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/8.33, allocations: 11.73 kB / 1.307 GB, free: 6.477 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.624247253999783]