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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.004643/0.004647, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001219/0.001219, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.425/1.425, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.2 MB / 0.6649 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 63.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7819/0.7834, allocations: 140.3 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002239/0.7857, allocations: 1.116 MB / 0.9507 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.7874, allocations: 1.344 MB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.7875, allocations: 1.188 kB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.7876, allocations: 13.23 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.005e-05/0.7877, allocations: 26.28 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.7883, allocations: 249 kB / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.7886, allocations: 306.7 kB / 0.9526 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.7888, allocations: 67.52 kB / 0.9526 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.7889, allocations: 119.8 kB / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.789, allocations: 109.4 kB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.7891, allocations: 16.59 kB / 0.9529 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.945e-05/0.7892, allocations: 29.83 kB / 0.9529 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.7893, allocations: 45.83 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.7894, allocations: 103.5 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.7896, allocations: 273.5 kB / 0.9533 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7896, allocations: 1.062 kB / 0.9533 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.51e-07/0.7896, allocations: 0 / 0.9533 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.7897, allocations: 0 / 0.9533 GB, free: 6.355 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.0008487/0.7905, allocations: 0.6374 MB / 0.9539 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.7906, allocations: 9.188 kB / 0.9539 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.7906, allocations: 28.47 kB / 0.9539 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.7909, allocations: 264.5 kB / 0.9542 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.7909, allocations: 12.95 kB / 0.9542 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.791, allocations: 20.19 kB / 0.9542 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.7914, allocations: 197.8 kB / 0.9544 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.7915, allocations: 0 / 0.9544 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.7915, allocations: 2.469 kB / 0.9544 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7915, allocations: 6.234 kB / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.792, allocations: 165.5 kB / 0.9546 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.7929, allocations: 0.6383 MB / 0.9552 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.7934, allocations: 193.9 kB / 0.9554 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.7938, allocations: 139 kB / 0.9555 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.7938, allocations: 1.281 kB / 0.9555 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/0.7943, allocations: 196.4 kB / 0.9557 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.7943, allocations: 3.938 kB / 0.9557 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001066/0.7954, allocations: 470.3 kB / 0.9562 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.7954, allocations: 105.4 kB / 0.9563 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.7956, allocations: 208.7 kB / 0.9565 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.7956, allocations: 33.73 kB / 0.9565 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.7957, allocations: 132 kB / 0.9566 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.7958, allocations: 51.02 kB / 0.9567 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.7959, allocations: 64.48 kB / 0.9567 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.796, allocations: 335.9 kB / 0.9571 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.7964, allocations: 159.2 kB / 0.9572 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004044/0.7968, allocations: 212.4 kB / 0.9574 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006565/0.7975, allocations: 460.2 kB / 0.9578 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7975, allocations: 0 / 0.9578 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001029/0.7985, allocations: 0.5312 MB / 0.9584 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.7986, allocations: 125 kB / 0.9585 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7986, allocations: 6.25 kB / 0.9585 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.7986, allocations: 1.594 kB / 0.9585 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.7988, allocations: 41.41 kB / 0.9585 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.7988, allocations: 5.203 kB / 0.9585 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.7993, allocations: 79.56 kB / 0.9586 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/0.7994, allocations: 32.19 kB / 0.9586 GB, free: 2.195 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.7995, allocations: 204.8 kB / 0.9588 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.7996, allocations: 20.62 kB / 0.9589 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.7996, allocations: 26.89 kB / 0.9589 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.7996, allocations: 1.656 kB / 0.9589 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.7997, allocations: 1.156 kB / 0.9589 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7997, allocations: 0 / 0.9589 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/0.8006, allocations: 0.6968 MB / 0.9596 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8006, allocations: 1.062 kB / 0.9596 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.8008, allocations: 34.34 kB / 0.9596 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.8008, allocations: 1 kB / 0.9596 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.8008, allocations: 3.281 kB / 0.9596 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.8008, allocations: 5.047 kB / 0.9596 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8008, allocations: 0 / 0.9596 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.8016, allocations: 463.1 kB / 0.9601 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.8016, allocations: 106.8 kB / 0.9602 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.8017, allocations: 2.25 kB / 0.9602 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.8019, allocations: 23.28 kB / 0.9602 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.8019, allocations: 19.59 kB / 0.9602 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.802, allocations: 25.34 kB / 0.9602 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001214/0.8021, allocations: 152 kB / 0.9604 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8021, allocations: 0 / 0.9604 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003411/0.8025, allocations: 57 kB / 0.9604 GB, free: 0.7891 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.0001515/0.8026, allocations: 112.7 kB / 0.9605 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009172/0.8035, allocations: 0.5595 MB / 0.9611 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8036, allocations: 3.938 kB / 0.9611 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.8039, allocations: 252.8 kB / 0.9613 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.8043, allocations: 53.5 kB / 0.9614 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.8052, allocations: 0.4917 MB / 0.9618 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.8056, allocations: 0.7366 MB / 0.9626 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.8056, allocations: 21.53 kB / 0.9626 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/0.8056, allocations: 0 / 0.9626 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.005891/0.8115, allocations: 3.082 MB / 0.9656 GB, free: 13.38 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/jenkins1/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