Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001358/0.001358, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.002019/0.002019, allocations: 169 kB / 24.06 MB, free: 456 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.09/2.09, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.677e-05, allocations: 2.969 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001426/0.001442, allocations: 0.8654 MB / 0.8802 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.002937, allocations: 1.345 MB / 0.8816 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.003002, allocations: 0 / 0.8816 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.003135, allocations: 28.23 kB / 0.8816 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.475e-05/0.003209, allocations: 37 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.003774, allocations: 255.4 kB / 0.8819 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.004074, allocations: 331.4 kB / 0.8822 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.004222, allocations: 42.98 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.004422, allocations: 191.7 kB / 0.8824 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.004561, allocations: 81.41 kB / 0.8825 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.004596, allocations: 24 kB / 0.8825 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.004685, allocations: 39.98 kB / 0.8825 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.004744, allocations: 47.77 kB / 0.8826 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.004819, allocations: 81.77 kB / 0.8827 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.00505, allocations: 227.2 kB / 0.8829 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005051, allocations: 0 / 0.8829 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005052, allocations: 0 / 0.8829 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.005057, allocations: 0 / 0.8829 GB, free: 2.457 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005337/0.005591, allocations: 0.5757 MB / 0.8834 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.005629, allocations: 12.02 kB / 0.8835 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.005852, allocations: 56.81 kB / 0.8835 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.006071, allocations: 205.8 kB / 0.8837 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.006098, allocations: 12.38 kB / 0.8837 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.006126, allocations: 24.36 kB / 0.8837 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.006274, allocations: 142.7 kB / 0.8839 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.006285, allocations: 4.125 kB / 0.8839 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.006296, allocations: 4.375 kB / 0.8839 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.006304, allocations: 4.375 kB / 0.8839 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.006348, allocations: 31.84 kB / 0.8839 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.006869, allocations: 0.8014 MB / 0.8847 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.459e-05/0.006943, allocations: 66.17 kB / 0.8848 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.006966, allocations: 19.44 kB / 0.8848 GB, free: 344 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.006973, allocations: 7.984 kB / 0.8848 GB, free: 336 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.007098, allocations: 108.3 kB / 0.8849 GB, free: 204 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.007099, allocations: 0 / 0.8849 GB, free: 204 kB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001982/0.007297, allocations: 113.4 kB / 0.885 GB, free: 84 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.007359, allocations: 77.11 kB / 0.8851 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.007511, allocations: 258.6 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.007537, allocations: 37.69 kB / 0.8854 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.007638, allocations: 187 kB / 0.8855 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/0.007853, allocations: 15.89 kB / 0.8856 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.007933, allocations: 79.3 kB / 0.8856 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.008062, allocations: 0.4962 MB / 0.8861 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.008149, allocations: 107.4 kB / 0.8862 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.00828, allocations: 251.5 kB / 0.8865 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.008415, allocations: 196.7 kB / 0.8866 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008417, allocations: 0 / 0.8866 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002924/0.008709, allocations: 332.2 kB / 0.887 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.008761, allocations: 71.39 kB / 0.887 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.008767, allocations: 4 kB / 0.887 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.008779, allocations: 3.938 kB / 0.887 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.752e-05/0.008827, allocations: 8 kB / 0.887 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.008833, allocations: 7.984 kB / 0.887 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.00899, allocations: 48.22 kB / 0.8871 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.00901, allocations: 11.98 kB / 0.8871 GB, free: 13.69 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt2.y,conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001029/0.009113, allocations: 176.5 kB / 0.8873 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.00913, allocations: 15.91 kB / 0.8873 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.009165, allocations: 24.95 kB / 0.8873 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.00917, allocations: 3.938 kB / 0.8873 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.009172, allocations: 4 kB / 0.8873 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.009177, allocations: 0 / 0.8873 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.009285, allocations: 149.1 kB / 0.8875 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009287, allocations: 0 / 0.8875 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.009305, allocations: 7.984 kB / 0.8875 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.009307, allocations: 0 / 0.8875 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.009312, allocations: 0 / 0.8875 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.009313, allocations: 4 kB / 0.8875 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.009314, allocations: 0 / 0.8875 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.00943, allocations: 139.9 kB / 0.8876 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.009447, allocations: 15.91 kB / 0.8876 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.009465, allocations: 7.984 kB / 0.8876 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.688e-05/0.009482, allocations: 4 kB / 0.8876 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.009512, allocations: 15.92 kB / 0.8877 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.009517, allocations: 4 kB / 0.8877 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.598e-05/0.009593, allocations: 169.4 kB / 0.8878 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009593, allocations: 0 / 0.8878 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000176/0.009769, allocations: 47.89 kB / 0.8879 GB, free: 12.85 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001112/0.00988, allocations: 99.25 kB / 0.888 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.01011, allocations: 286.2 kB / 0.8882 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01012, allocations: 4.375 kB / 0.8882 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.01015, allocations: 35.61 kB / 0.8883 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.01033, allocations: 40.97 kB / 0.8883 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.01069, allocations: 294.8 kB / 0.8886 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.262e-05/0.01073, allocations: 75.98 kB / 0.8887 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.01077, allocations: 21.47 kB / 0.8887 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.0109, allocations: 122.2 kB / 0.8888 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of SimCode: time 9.71e-07/0.0109, allocations: 0 / 0.8888 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of Templates: time 0.004709/0.01561, allocations: 2.899 MB / 0.8916 GB, free: 8.957 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.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.590051133185625]