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.001328/0.001328, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001064/0.001064, allocations: 161 kB / 24.16 MB, free: 336 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.48 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 2.04/2.04, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] 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.885e-06/2.885e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.286e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002549/0.002582, allocations: 1.027 MB / 0.7611 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.004802, allocations: 1.4 MB / 0.7624 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.004898, allocations: 0 / 0.7624 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.005025, allocations: 21.86 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.00516, allocations: 48.36 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007687/0.005928, allocations: 268.5 kB / 0.7628 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.006489, allocations: 388.7 kB / 0.7631 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.006637, allocations: 46.3 kB / 0.7632 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.006969, allocations: 236.2 kB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.007164, allocations: 97.53 kB / 0.7635 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.007211, allocations: 24 kB / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.00734, allocations: 47.92 kB / 0.7636 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.007413, allocations: 56.3 kB / 0.7636 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.00752, allocations: 88.5 kB / 0.7637 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.007847, allocations: 255.9 kB / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.00785, allocations: 0 / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007851, allocations: 0 / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.007856, allocations: 0.75 kB / 0.7639 GB, free: 2.625 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.0007007/0.008557, allocations: 0.494 MB / 0.7644 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.008593, allocations: 11.97 kB / 0.7644 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.008833, allocations: 48.89 kB / 0.7645 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.009061, allocations: 212.8 kB / 0.7647 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.009085, allocations: 12.38 kB / 0.7647 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.009113, allocations: 28.3 kB / 0.7647 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.009318, allocations: 168.7 kB / 0.7649 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.009327, allocations: 4.125 kB / 0.7649 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.009338, allocations: 384 / 0.7649 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.009345, allocations: 7.125 kB / 0.7649 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.933e-05/0.009404, allocations: 51.72 kB / 0.7649 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.009919, allocations: 0.6362 MB / 0.7656 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/0.01001, allocations: 107.8 kB / 0.7657 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.01004, allocations: 36.3 kB / 0.7657 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.01005, allocations: 0 / 0.7657 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.01017, allocations: 119.6 kB / 0.7658 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 8.61e-07/0.01017, allocations: 0.9062 kB / 0.7658 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001711/0.01034, allocations: 114.4 kB / 0.7659 GB, free: 400 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.0104, allocations: 163.1 kB / 0.7661 GB, free: 200 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.01053, allocations: 205.1 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.01055, allocations: 35.2 kB / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.01084, allocations: 144.8 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.01087, allocations: 31.8 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.01093, allocations: 49.67 kB / 0.7665 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.01101, allocations: 332.1 kB / 0.7668 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.699e-05/0.01109, allocations: 103.4 kB / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.01121, allocations: 220.2 kB / 0.7672 GB, free: 15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.01134, allocations: 191.2 kB / 0.7673 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01134, allocations: 0 / 0.7673 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002248/0.01157, allocations: 296.1 kB / 0.7676 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.01161, allocations: 72.02 kB / 0.7677 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.01162, allocations: 2.906 kB / 0.7677 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01163, allocations: 7.938 kB / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.01172, allocations: 23.92 kB / 0.7677 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.01172, allocations: 4 kB / 0.7677 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.01187, allocations: 59.83 kB / 0.7678 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.01189, allocations: 8.875 kB / 0.7678 GB, free: 14.27 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 8.301e-05/0.01197, allocations: 132 kB / 0.7679 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.01199, allocations: 19.98 kB / 0.7679 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.01203, allocations: 13.34 kB / 0.7679 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01203, allocations: 8.438 kB / 0.768 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.01203, allocations: 0 / 0.768 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01204, allocations: 8.859 kB / 0.768 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.01214, allocations: 113.8 kB / 0.7681 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01214, allocations: 1.219 kB / 0.7681 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.01219, allocations: 23.92 kB / 0.7681 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01219, allocations: 0 / 0.7681 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.0122, allocations: 8.922 kB / 0.7681 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.0122, allocations: 4 kB / 0.7681 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.0122, allocations: 4.906 kB / 0.7681 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.01231, allocations: 128.4 kB / 0.7682 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.01233, allocations: 26.92 kB / 0.7683 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.01235, allocations: 7.984 kB / 0.7683 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.01239, allocations: 8 kB / 0.7683 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.01243, allocations: 19.91 kB / 0.7683 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.01243, allocations: 4 kB / 0.7683 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.01248, allocations: 74.72 kB / 0.7684 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01248, allocations: 3.781 kB / 0.7684 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000168/0.01265, allocations: 51.89 kB / 0.7684 GB, free: 13.57 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.0001102/0.01276, allocations: 96.34 kB / 0.7685 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.01297, allocations: 274.9 kB / 0.7688 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.01297, allocations: 4 kB / 0.7688 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.01301, allocations: 43.95 kB / 0.7688 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.01318, allocations: 56.48 kB / 0.7689 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.01359, allocations: 367.2 kB / 0.7692 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.01363, allocations: 79.97 kB / 0.7693 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.194e-05/0.0137, allocations: 22.61 kB / 0.7693 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.01383, allocations: 107.3 kB / 0.7694 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of SimCode: time 7.52e-07/0.01383, allocations: 1 kB / 0.7694 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.005206/0.01903, allocations: 3.43 MB / 0.7728 GB, free: 9.207 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 -s gbode -gbm=radauIIA3 -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.33639763109386]