Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001061/0.001061, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001139/0.001139, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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.02/1.02, allocations: 177.2 MB / 204.6 MB, free: 5.324 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.836/1.836, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.271e-05, allocations: 2.312 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003203/0.003226, allocations: 0.9859 MB / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.005178, allocations: 1.392 MB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.005265, allocations: 3.938 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.005395, allocations: 14.05 kB / 0.7624 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.005536, allocations: 56.8 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008099/0.006346, allocations: 277.9 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004835/0.00683, allocations: 384.7 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.006982, allocations: 54.27 kB / 0.7631 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.007356, allocations: 223.6 kB / 0.7633 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.00756, allocations: 97.92 kB / 0.7634 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.007613, allocations: 28 kB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.007723, allocations: 39.98 kB / 0.7635 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.625e-05/0.007799, allocations: 55.77 kB / 0.7635 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.007913, allocations: 97.27 kB / 0.7636 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.00827, allocations: 251.1 kB / 0.7638 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.008273, allocations: 0 / 0.7638 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.008274, allocations: 1.25 kB / 0.7638 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.00828, allocations: 3.938 kB / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008016/0.009082, allocations: 0.4963 MB / 0.7643 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.009127, allocations: 8.031 kB / 0.7643 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.00945, allocations: 52.88 kB / 0.7644 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.009831, allocations: 213.5 kB / 0.7646 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.009862, allocations: 12.94 kB / 0.7646 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.009906, allocations: 20.38 kB / 0.7646 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.01021, allocations: 168.7 kB / 0.7648 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.01022, allocations: 192 / 0.7648 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.01024, allocations: 4.375 kB / 0.7648 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.01024, allocations: 5.406 kB / 0.7648 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.01034, allocations: 43.78 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000771/0.01111, allocations: 0.6459 MB / 0.7655 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.01124, allocations: 101.8 kB / 0.7656 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.01129, allocations: 37.09 kB / 0.7656 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.0113, allocations: 4 kB / 0.7656 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.01147, allocations: 132.6 kB / 0.7657 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.01148, allocations: 3.031 kB / 0.7657 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002466/0.01172, allocations: 109.4 kB / 0.7658 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.0118, allocations: 162.2 kB / 0.766 GB, free: 316 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.01197, allocations: 201 kB / 0.7662 GB, free: 104 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.01201, allocations: 33.7 kB / 0.7662 GB, free: 64 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.01212, allocations: 140 kB / 0.7664 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.01215, allocations: 35.73 kB / 0.7664 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.01226, allocations: 53.67 kB / 0.7664 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.01237, allocations: 338.7 kB / 0.7668 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.0125, allocations: 99.38 kB / 0.7669 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.01268, allocations: 219.6 kB / 0.7671 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.01289, allocations: 190.7 kB / 0.7672 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.01289, allocations: 4 kB / 0.7673 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003848/0.01328, allocations: 292.2 kB / 0.7675 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.01334, allocations: 67.39 kB / 0.7676 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01335, allocations: 0 / 0.7676 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.01337, allocations: 10.72 kB / 0.7676 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.01348, allocations: 23.92 kB / 0.7676 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.01349, allocations: 0 / 0.7676 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.01374, allocations: 59.84 kB / 0.7677 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.01377, allocations: 13.55 kB / 0.7677 GB, free: 14.39 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001216/0.01389, allocations: 133.8 kB / 0.7678 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.01393, allocations: 15.98 kB / 0.7678 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.01398, allocations: 22.61 kB / 0.7679 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.01399, allocations: 8.406 kB / 0.7679 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01399, allocations: 0 / 0.7679 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.014, allocations: 4.562 kB / 0.7679 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.01416, allocations: 114.6 kB / 0.768 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01416, allocations: 0 / 0.768 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/0.01424, allocations: 16.89 kB / 0.768 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.01425, allocations: 7.984 kB / 0.768 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01426, allocations: 4.781 kB / 0.768 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.01427, allocations: 4 kB / 0.768 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.01427, allocations: 5.219 kB / 0.768 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.01445, allocations: 132.4 kB / 0.7681 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.01448, allocations: 15.86 kB / 0.7682 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.0145, allocations: 5.188 kB / 0.7682 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.01458, allocations: 11.98 kB / 0.7682 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.01464, allocations: 27.84 kB / 0.7682 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.01465, allocations: 4.719 kB / 0.7682 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.07e-05/0.01474, allocations: 67.38 kB / 0.7683 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.01474, allocations: 0 / 0.7683 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003099/0.01505, allocations: 53.02 kB / 0.7683 GB, free: 13.69 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001607/0.01521, allocations: 93.28 kB / 0.7684 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.01555, allocations: 287.7 kB / 0.7687 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.01555, allocations: 0.5 kB / 0.7687 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.01563, allocations: 37.62 kB / 0.7687 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.01591, allocations: 50.95 kB / 0.7688 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.01657, allocations: 378.2 kB / 0.7691 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.626e-05/0.01664, allocations: 79.97 kB / 0.7692 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.01674, allocations: 25.27 kB / 0.7692 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.01696, allocations: 103.3 kB / 0.7693 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of SimCode: time 1.122e-06/0.01696, allocations: 0 / 0.7693 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of Templates: time 0.008507/0.02547, allocations: 3.435 MB / 0.7727 GB, free: 9.328 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.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.113311089109629]