Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.u.5.|extIndSig.y|extIndSig1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002321/0.002321, allocations: 190.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8805/0.8818, allocations: 140.4 MB / 0.9491 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00229/0.8842, allocations: 1.102 MB / 0.9502 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.8857, allocations: 1.299 MB / 0.9515 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.8858, allocations: 1.906 kB / 0.9515 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.8859, allocations: 11.86 kB / 0.9515 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.886, allocations: 31.72 kB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.8867, allocations: 246.1 kB / 0.9517 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.8871, allocations: 368.5 kB / 0.9521 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.8873, allocations: 77.55 kB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.8874, allocations: 136.6 kB / 0.9523 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.8876, allocations: 120.9 kB / 0.9524 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.8876, allocations: 36.67 kB / 0.9524 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.8877, allocations: 51.89 kB / 0.9525 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.8878, allocations: 38.56 kB / 0.9525 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.8879, allocations: 134.5 kB / 0.9527 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.8883, allocations: 358.6 kB / 0.953 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8883, allocations: 0 / 0.953 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8883, allocations: 1.594 kB / 0.953 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8883, allocations: 0 / 0.953 GB, free: 6.367 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008199/0.8891, allocations: 0.6254 MB / 0.9536 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.8892, allocations: 12.89 kB / 0.9536 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.8893, allocations: 32.28 kB / 0.9537 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.8895, allocations: 260.8 kB / 0.9539 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.8895, allocations: 17.12 kB / 0.9539 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.8896, allocations: 19.75 kB / 0.9539 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.89, allocations: 190.1 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.8901, allocations: 0 / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.8901, allocations: 6.25 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.8901, allocations: 6.219 kB / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.8906, allocations: 165.3 kB / 0.9543 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.8915, allocations: 0.6381 MB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.892, allocations: 189.6 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.8923, allocations: 139.5 kB / 0.9552 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.8923, allocations: 1.156 kB / 0.9552 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004251/0.8928, allocations: 202.5 kB / 0.9554 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.775e-06/0.8928, allocations: 0 / 0.9554 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001092/0.8939, allocations: 472.5 kB / 0.9559 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.8939, allocations: 106.5 kB / 0.956 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.8941, allocations: 207.4 kB / 0.9562 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.8942, allocations: 39.3 kB / 0.9562 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.8943, allocations: 131.4 kB / 0.9563 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.8943, allocations: 51.23 kB / 0.9564 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.8944, allocations: 64.44 kB / 0.9564 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.8945, allocations: 332.2 kB / 0.9568 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.8949, allocations: 162.6 kB / 0.9569 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.8953, allocations: 204.2 kB / 0.9571 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.896, allocations: 458.6 kB / 0.9575 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.896, allocations: 0 / 0.9575 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001068/0.8971, allocations: 0.5416 MB / 0.9581 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.466e-05/0.8972, allocations: 125.1 kB / 0.9582 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.8972, allocations: 1.156 kB / 0.9582 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.8972, allocations: 1.906 kB / 0.9582 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.8974, allocations: 37.41 kB / 0.9582 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.8974, allocations: 5.281 kB / 0.9582 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.8979, allocations: 80.39 kB / 0.9583 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.517e-05/0.898, allocations: 35.78 kB / 0.9583 GB, free: 2.215 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001469/0.8981, allocations: 203.1 kB / 0.9585 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.8982, allocations: 21.56 kB / 0.9586 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.8982, allocations: 26.08 kB / 0.9586 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.8982, allocations: 2.219 kB / 0.9586 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.8982, allocations: 0 / 0.9586 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.8983, allocations: 1.062 kB / 0.9586 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009171/0.8992, allocations: 0.6944 MB / 0.9593 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.8992, allocations: 4 kB / 0.9593 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.8993, allocations: 39.34 kB / 0.9593 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.8994, allocations: 0.7812 kB / 0.9593 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.8994, allocations: 3.469 kB / 0.9593 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.8994, allocations: 4.938 kB / 0.9593 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8994, allocations: 0 / 0.9593 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.9001, allocations: 459.1 kB / 0.9598 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.9002, allocations: 107 kB / 0.9599 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.9002, allocations: 5.359 kB / 0.9599 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.9004, allocations: 27.81 kB / 0.9599 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.9005, allocations: 15.77 kB / 0.9599 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/0.9005, allocations: 21.12 kB / 0.9599 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001266/0.9007, allocations: 160.4 kB / 0.9601 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9007, allocations: 0 / 0.9601 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003409/0.901, allocations: 56.59 kB / 0.9601 GB, free: 0.8008 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0001798/0.9012, allocations: 113.1 kB / 0.9602 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009695/0.9022, allocations: 0.5767 MB / 0.9608 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9022, allocations: 5 kB / 0.9608 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/0.9026, allocations: 249.3 kB / 0.961 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.903, allocations: 45.66 kB / 0.9611 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007698/0.9038, allocations: 488.3 kB / 0.9616 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.9041, allocations: 0.7316 MB / 0.9623 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.9042, allocations: 47.12 kB / 0.9623 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.9043, allocations: 20.48 kB / 0.9623 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.9043, allocations: 0 / 0.9623 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.007473/0.9118, allocations: 3.541 MB / 0.9658 GB, free: 13.23 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches