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.001451/0.001451, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001591/0.001591, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.49/1.49, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.827/2.827, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|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.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|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.286e-06/3.286e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.988e-05/4.317e-05, allocations: 3.281 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.004031/0.004075, allocations: 1.255 MB / 0.7876 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003738/0.007812, allocations: 1.581 MB / 0.7892 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.007963, allocations: 1.375 kB / 0.7892 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.008162, allocations: 35.55 kB / 0.7892 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.008418, allocations: 76.22 kB / 0.7893 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.01023, allocations: 496.1 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.01142, allocations: 0.6567 MB / 0.7904 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.01181, allocations: 114 kB / 0.7905 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007164/0.01253, allocations: 367.5 kB / 0.7908 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.01305, allocations: 197.1 kB / 0.791 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.01324, allocations: 64 kB / 0.7911 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.01347, allocations: 75.98 kB / 0.7912 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.01364, allocations: 83.67 kB / 0.7912 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.01403, allocations: 185 kB / 0.7914 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.01543, allocations: 0.7673 MB / 0.7922 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.01544, allocations: 0 / 0.7922 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/0.01544, allocations: 0 / 0.7922 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.01545, allocations: 5.594 kB / 0.7922 GB, free: 6.855 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.002134/0.01758, allocations: 0.8672 MB / 0.793 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.01764, allocations: 8.562 kB / 0.793 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.01792, allocations: 80.09 kB / 0.7931 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.02011, allocations: 421.4 kB / 0.7935 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.02018, allocations: 24.88 kB / 0.7935 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.02044, allocations: 40.91 kB / 0.7936 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.0217, allocations: 454.7 kB / 0.794 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.02171, allocations: 192 / 0.794 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.02176, allocations: 12.38 kB / 0.794 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.02178, allocations: 8.656 kB / 0.794 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.02305, allocations: 388.9 kB / 0.7944 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.0256, allocations: 0.7471 MB / 0.7951 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.02688, allocations: 478.8 kB / 0.7956 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009881/0.02787, allocations: 392.9 kB / 0.796 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.0279, allocations: 8 kB / 0.796 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.02904, allocations: 449.8 kB / 0.7964 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=44): time 3.015e-06/0.02904, allocations: 0 / 0.7964 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44): time 0.003104/0.03215, allocations: 1.123 MB / 0.7975 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002143/0.03236, allocations: 195.9 kB / 0.7977 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005091/0.03287, allocations: 281.9 kB / 0.7979 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.03299, allocations: 41.7 kB / 0.798 GB, free: 460 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.03326, allocations: 168.8 kB / 0.7981 GB, free: 284 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.03347, allocations: 142.9 kB / 0.7983 GB, free: 140 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/0.03386, allocations: 130.7 kB / 0.7984 GB, free: 4 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003548/0.03421, allocations: 351.6 kB / 0.7987 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.03527, allocations: 0.5245 MB / 0.7993 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009747/0.03625, allocations: 0.6115 MB / 0.7999 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.03772, allocations: 0.9125 MB / 0.8007 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.03772, allocations: 0 / 0.8007 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00227/0.03999, allocations: 1.29 MB / 0.802 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002381/0.04023, allocations: 263.2 kB / 0.8023 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.04024, allocations: 1.125 kB / 0.8023 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.04026, allocations: 4 kB / 0.8023 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.04057, allocations: 72.7 kB / 0.8023 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.04059, allocations: 4 kB / 0.8023 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008115/0.0414, allocations: 147.4 kB / 0.8025 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.04154, allocations: 67.92 kB / 0.8025 GB, free: 11.35 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.0003755/0.04191, allocations: 313.1 kB / 0.8028 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.04203, allocations: 68.39 kB / 0.8029 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.04214, allocations: 45.02 kB / 0.8029 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.04215, allocations: 8 kB / 0.803 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.04215, allocations: 0 / 0.803 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.04216, allocations: 0 / 0.803 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.04435, allocations: 1.214 MB / 0.8041 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.04435, allocations: 0 / 0.8041 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.04463, allocations: 67.89 kB / 0.8042 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.04463, allocations: 0 / 0.8042 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.04467, allocations: 19.98 kB / 0.8042 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.04468, allocations: 0 / 0.8042 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.04468, allocations: 0 / 0.8042 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.04618, allocations: 0.9209 MB / 0.8051 GB, free: 8.492 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.04624, allocations: 39.64 kB / 0.8052 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.04629, allocations: 11.98 kB / 0.8052 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.04652, allocations: 27.97 kB / 0.8052 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.04663, allocations: 35.94 kB / 0.8052 GB, free: 8.379 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/0.04671, allocations: 47.94 kB / 0.8053 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002208/0.04693, allocations: 191.1 kB / 0.8055 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04693, allocations: 0 / 0.8055 GB, free: 8.148 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004847/0.04742, allocations: 111.9 kB / 0.8056 GB, free: 8.039 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.0002142/0.04763, allocations: 123.1 kB / 0.8057 GB, free: 7.91 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002131/0.04976, allocations: 1.437 MB / 0.8071 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.04976, allocations: 0.5625 kB / 0.8071 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008369/0.0506, allocations: 0.6301 MB / 0.8077 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.05121, allocations: 100.5 kB / 0.8078 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.05284, allocations: 0.9322 MB / 0.8087 GB, free: 4.457 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.05307, allocations: 192.3 kB / 0.8089 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.05332, allocations: 91.2 kB / 0.809 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.05341, allocations: 32.5 kB / 0.809 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of SimCode: time 8.71e-07/0.05341, allocations: 0 / 0.809 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of Templates: time 0.01445/0.06785, allocations: 7.009 MB / 0.8159 GB, free: 13.27 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.103724297950976]