Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009831/0.0009831, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.000944/0.000944, allocations: 181 kB / 24.09 MB, free: 420 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 0.9302/0.9302, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.836/1.836, allocations: 359 MB / 0.6055 GB, free: 10.88 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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.[0-9,]+.|extSig.y.[0-9,]+.|extSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/3.015e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002299/0.002329, allocations: 0.9725 MB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.004339, allocations: 1.383 MB / 0.7899 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.004454, allocations: 0 / 0.7899 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.004596, allocations: 23.73 kB / 0.7899 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.004746, allocations: 46.84 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008625/0.005609, allocations: 271.3 kB / 0.7902 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000511/0.00612, allocations: 387.2 kB / 0.7906 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.006302, allocations: 41.78 kB / 0.7906 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003846/0.006687, allocations: 229.3 kB / 0.7908 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.006888, allocations: 99.73 kB / 0.7909 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.006942, allocations: 28.59 kB / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.007069, allocations: 36 kB / 0.791 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.007154, allocations: 61.42 kB / 0.791 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.007271, allocations: 87.8 kB / 0.7911 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.007613, allocations: 259.1 kB / 0.7914 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.007616, allocations: 0 / 0.7914 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007617, allocations: 0.5 kB / 0.7914 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.007622, allocations: 0.5938 kB / 0.7914 GB, free: 8.328 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007836/0.008406, allocations: 0.6244 MB / 0.792 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.008446, allocations: 9.188 kB / 0.792 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.008703, allocations: 76.66 kB / 0.792 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.00901, allocations: 223.7 kB / 0.7923 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.009044, allocations: 17.73 kB / 0.7923 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.009085, allocations: 28.31 kB / 0.7923 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.00937, allocations: 175.1 kB / 0.7925 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.009382, allocations: 192 / 0.7925 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.009398, allocations: 12.31 kB / 0.7925 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.009407, allocations: 4.375 kB / 0.7925 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.009486, allocations: 41.22 kB / 0.7925 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.01033, allocations: 0.9572 MB / 0.7935 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.01047, allocations: 149.4 kB / 0.7936 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.01052, allocations: 50.44 kB / 0.7937 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.01053, allocations: 7.969 kB / 0.7937 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.01071, allocations: 153.9 kB / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.01071, allocations: 0 / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002922/0.011, allocations: 137.8 kB / 0.7939 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.01107, allocations: 162.9 kB / 0.7941 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.01127, allocations: 268.2 kB / 0.7944 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.01131, allocations: 34.23 kB / 0.7944 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.01143, allocations: 199.1 kB / 0.7946 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.01147, allocations: 36.62 kB / 0.7946 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.696e-05/0.01156, allocations: 55.33 kB / 0.7947 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.01172, allocations: 0.5125 MB / 0.7952 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.01184, allocations: 99.38 kB / 0.7953 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.01203, allocations: 262.2 kB / 0.7955 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.01224, allocations: 202.7 kB / 0.7957 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01224, allocations: 1.156 kB / 0.7957 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000442/0.01268, allocations: 349.9 kB / 0.796 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.01274, allocations: 67.39 kB / 0.7961 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.01275, allocations: 7.938 kB / 0.7961 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01276, allocations: 6.438 kB / 0.7961 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.539e-05/0.01286, allocations: 15.98 kB / 0.7961 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.01286, allocations: 7.938 kB / 0.7961 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.01309, allocations: 55.84 kB / 0.7962 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.01312, allocations: 21.09 kB / 0.7962 GB, free: 2.844 MB / 0.7448 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.0001151/0.01324, allocations: 175.9 kB / 0.7964 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.01328, allocations: 23.91 kB / 0.7964 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.01332, allocations: 29.27 kB / 0.7964 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01333, allocations: 1.875 kB / 0.7964 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01333, allocations: 4 kB / 0.7964 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01333, allocations: 0 / 0.7964 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.0135, allocations: 149.1 kB / 0.7966 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.0135, allocations: 4 kB / 0.7966 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/0.01357, allocations: 29.11 kB / 0.7966 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01357, allocations: 0 / 0.7966 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01359, allocations: 7.984 kB / 0.7966 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01359, allocations: 1.094 kB / 0.7966 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.01359, allocations: 7.938 kB / 0.7966 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.0138, allocations: 171.7 kB / 0.7968 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.01383, allocations: 23.8 kB / 0.7968 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.01385, allocations: 8.766 kB / 0.7968 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.01392, allocations: 11.16 kB / 0.7968 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.01398, allocations: 19.91 kB / 0.7968 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.01399, allocations: 8 kB / 0.7969 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001079/0.0141, allocations: 185.1 kB / 0.797 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0141, allocations: 0 / 0.797 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000309/0.01441, allocations: 47.89 kB / 0.7971 GB, free: 1.891 MB / 0.7448 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.0001453/0.01455, allocations: 111.2 kB / 0.7972 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.01487, allocations: 295.9 kB / 0.7975 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01487, allocations: 4 kB / 0.7975 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.01494, allocations: 40.47 kB / 0.7975 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.01526, allocations: 53.41 kB / 0.7976 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.01584, allocations: 385.5 kB / 0.7979 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.224e-05/0.0159, allocations: 83.97 kB / 0.798 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.88e-05/0.016, allocations: 25.64 kB / 0.798 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.01619, allocations: 134.1 kB / 0.7982 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.01619, allocations: 0 / 0.7982 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of Templates: time 0.005767/0.02196, allocations: 3.595 MB / 0.8017 GB, free: 13.14 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.943049730267376]