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.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.001552/0.001552, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 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.002008/0.002008, allocations: 171.9 kB / 24.87 MB, free: 8.879 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.887/1.887, allocations: 359 MB / 0.6063 GB, free: 10.89 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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 7.922 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.78e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.005436/0.005454, allocations: 1.264 MB / 0.7896 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005249/0.0107, allocations: 1.605 MB / 0.7911 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.01086, allocations: 8.781 kB / 0.7911 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.01101, allocations: 31.55 kB / 0.7912 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.01118, allocations: 92.48 kB / 0.7912 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.01225, allocations: 496.5 kB / 0.7917 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003746/0.016, allocations: 0.6454 MB / 0.7924 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.0163, allocations: 109.3 kB / 0.7925 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005518/0.01685, allocations: 404.9 kB / 0.7928 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.01717, allocations: 168.8 kB / 0.793 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.188e-05/0.01726, allocations: 52 kB / 0.7931 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.01739, allocations: 65.58 kB / 0.7931 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.01747, allocations: 71.69 kB / 0.7932 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.01767, allocations: 163.6 kB / 0.7933 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.01817, allocations: 434.6 kB / 0.7938 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.01817, allocations: 0 / 0.7938 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.001e-06/0.01817, allocations: 0.875 kB / 0.7938 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.01818, allocations: 0 / 0.7938 GB, free: 6.645 MB / 0.7448 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.003968/0.02215, allocations: 0.9508 MB / 0.7947 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.02218, allocations: 8.031 kB / 0.7947 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.02231, allocations: 72.66 kB / 0.7948 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.02269, allocations: 303.1 kB / 0.795 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.02272, allocations: 28.86 kB / 0.7951 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.02279, allocations: 40.38 kB / 0.7951 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.0232, allocations: 350.4 kB / 0.7954 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.02321, allocations: 1.844 kB / 0.7955 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.02324, allocations: 12.38 kB / 0.7955 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.02324, allocations: 8.375 kB / 0.7955 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.02344, allocations: 219.9 kB / 0.7957 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.02446, allocations: 0.7084 MB / 0.7964 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.02473, allocations: 294.1 kB / 0.7967 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/0.02694, allocations: 248.1 kB / 0.7969 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.02695, allocations: 8 kB / 0.7969 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.02722, allocations: 341.7 kB / 0.7972 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.02722, allocations: 1.562 kB / 0.7972 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.0006407/0.02786, allocations: 0.7682 MB / 0.798 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.02793, allocations: 195.9 kB / 0.7982 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.02813, allocations: 315.2 kB / 0.7985 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.02818, allocations: 41.7 kB / 0.7985 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.0283, allocations: 223.6 kB / 0.7987 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.02839, allocations: 139.4 kB / 0.7988 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.02857, allocations: 136.3 kB / 0.799 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.02872, allocations: 0.5283 MB / 0.7995 GB, free: 260 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.02901, allocations: 384.1 kB / 0.7999 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.02934, allocations: 497.4 kB / 0.8003 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.02981, allocations: 0.6874 MB / 0.801 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02981, allocations: 0 / 0.801 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008599/0.03067, allocations: 1.009 MB / 0.802 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.03078, allocations: 267.3 kB / 0.8022 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.03079, allocations: 4 kB / 0.8022 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.0308, allocations: 12.89 kB / 0.8023 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.03097, allocations: 59.91 kB / 0.8023 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.03098, allocations: 10.25 kB / 0.8023 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.03134, allocations: 115.1 kB / 0.8024 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-05/0.03142, allocations: 67.92 kB / 0.8025 GB, free: 12.73 MB / 0.7605 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.0001774/0.03159, allocations: 329 kB / 0.8028 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.03166, allocations: 59.7 kB / 0.8029 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.03171, allocations: 39.42 kB / 0.8029 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.03172, allocations: 7.938 kB / 0.8029 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.03172, allocations: 0.7812 kB / 0.8029 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.03173, allocations: 4 kB / 0.8029 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007936/0.03252, allocations: 0.958 MB / 0.8039 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.03252, allocations: 5.328 kB / 0.8039 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.03267, allocations: 59.84 kB / 0.8039 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.03267, allocations: 0 / 0.8039 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.03269, allocations: 16.91 kB / 0.8039 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.03269, allocations: 0 / 0.8039 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.03269, allocations: 4.656 kB / 0.8039 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.03317, allocations: 0.73 MB / 0.8047 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.0332, allocations: 40.3 kB / 0.8047 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.03323, allocations: 10 kB / 0.8047 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.03335, allocations: 19.98 kB / 0.8047 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.03342, allocations: 39.92 kB / 0.8048 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.03347, allocations: 47.89 kB / 0.8048 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000107/0.03357, allocations: 210.9 kB / 0.805 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.03358, allocations: 3.25 kB / 0.805 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003642/0.03394, allocations: 111.9 kB / 0.8051 GB, free: 9.848 MB / 0.7605 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.0001315/0.03407, allocations: 115.8 kB / 0.8052 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007834/0.03485, allocations: 1.2 MB / 0.8064 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.03486, allocations: 0 / 0.8064 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.03515, allocations: 0.5215 MB / 0.8069 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006753/0.0419, allocations: 108 kB / 0.807 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.04276, allocations: 0.8185 MB / 0.8078 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.881e-05/0.04283, allocations: 105.1 kB / 0.8079 GB, free: 6.602 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.04295, allocations: 48.11 kB / 0.808 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.04329, allocations: 222.1 kB / 0.8082 GB, free: 6.332 MB / 0.7605 GB Notification: Performance of SimCode: time 7.52e-07/0.04329, allocations: 4 kB / 0.8082 GB, free: 6.328 MB / 0.7605 GB Notification: Performance of Templates: time 0.01025/0.05354, allocations: 7.665 MB / 0.8157 GB, free: 14.82 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.296020325738937]