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.001189/0.001189, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001364/0.001364, allocations: 165 kB / 23.02 MB, free: 1.551 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.054/1.054, allocations: 177.1 MB / 203.4 MB, free: 5.438 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.237/2.237, allocations: 429.5 MB / 0.6733 GB, free: 4.035 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.945e-06/2.945e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.016e-05/4.31e-05, allocations: 3.062 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002521/0.002564, allocations: 0.8777 MB / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.004683, allocations: 1.354 MB / 0.8804 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.004765, allocations: 3.938 kB / 0.8804 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.004904, allocations: 23.8 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.005011, allocations: 27.73 kB / 0.8804 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.005869, allocations: 263.3 kB / 0.8807 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.006328, allocations: 337.5 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.006504, allocations: 33.61 kB / 0.881 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.006765, allocations: 187.7 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.006963, allocations: 87.75 kB / 0.8813 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.832e-05/0.007021, allocations: 28 kB / 0.8813 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.007149, allocations: 44.7 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.00724, allocations: 51.83 kB / 0.8814 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.007372, allocations: 85.47 kB / 0.8815 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.007772, allocations: 247.2 kB / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.007775, allocations: 0 / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/0.007777, allocations: 0 / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.007785, allocations: 4.5 kB / 0.8817 GB, free: 2.688 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.0008297/0.008615, allocations: 0.5771 MB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.008668, allocations: 9.906 kB / 0.8823 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.009084, allocations: 72.8 kB / 0.8824 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.009675, allocations: 237.8 kB / 0.8826 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.009712, allocations: 13.59 kB / 0.8826 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.009761, allocations: 20.38 kB / 0.8826 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.01001, allocations: 145.6 kB / 0.8828 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.01002, allocations: 1.781 kB / 0.8828 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.01004, allocations: 8.312 kB / 0.8828 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.01005, allocations: 8.125 kB / 0.8828 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.081e-05/0.01015, allocations: 39.84 kB / 0.8828 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/0.01098, allocations: 0.8322 MB / 0.8836 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.01108, allocations: 70.11 kB / 0.8837 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.01112, allocations: 19.44 kB / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.01112, allocations: 0 / 0.8837 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.0113, allocations: 120.2 kB / 0.8838 GB, free: 332 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.0113, allocations: 0 / 0.8838 GB, free: 332 kB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003034/0.01161, allocations: 117.9 kB / 0.8839 GB, free: 208 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.01165, allocations: 81.11 kB / 0.884 GB, free: 108 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.0119, allocations: 262.7 kB / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.01194, allocations: 33.7 kB / 0.8843 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.01205, allocations: 191 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.01207, allocations: 23.83 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.01218, allocations: 71.28 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.01233, allocations: 0.5001 MB / 0.8851 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.01249, allocations: 115.4 kB / 0.8852 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.01269, allocations: 259.6 kB / 0.8854 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.01289, allocations: 196.8 kB / 0.8856 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.0129, allocations: 4 kB / 0.8856 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004388/0.01333, allocations: 344.1 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.951e-05/0.01339, allocations: 75.33 kB / 0.886 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.0134, allocations: 192 / 0.886 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.01342, allocations: 8 kB / 0.886 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/0.01349, allocations: 12.03 kB / 0.886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.0135, allocations: 0 / 0.886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.0137, allocations: 43.91 kB / 0.8861 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.01373, allocations: 19.98 kB / 0.8861 GB, free: 13.76 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],conInt3.y,conInt2.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.0001284/0.01386, allocations: 176.4 kB / 0.8863 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.01388, allocations: 23.84 kB / 0.8863 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.01394, allocations: 21.02 kB / 0.8863 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01394, allocations: 0 / 0.8863 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01394, allocations: 0 / 0.8863 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.01395, allocations: 4 kB / 0.8863 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.01411, allocations: 180.6 kB / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01411, allocations: 0 / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.01414, allocations: 4 kB / 0.8865 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01414, allocations: 0 / 0.8865 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.01416, allocations: 7.938 kB / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01416, allocations: 0 / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01416, allocations: 4 kB / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.01433, allocations: 140 kB / 0.8866 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.01435, allocations: 15.89 kB / 0.8866 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.01437, allocations: 11.94 kB / 0.8866 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/0.0144, allocations: 0 / 0.8866 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.01443, allocations: 7.984 kB / 0.8867 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.01444, allocations: 3.938 kB / 0.8867 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001063/0.01455, allocations: 181.4 kB / 0.8868 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01455, allocations: 0 / 0.8868 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002936/0.01484, allocations: 47.89 kB / 0.8869 GB, free: 12.88 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.0001911/0.01503, allocations: 103.2 kB / 0.887 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.01542, allocations: 293.7 kB / 0.8873 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01542, allocations: 0 / 0.8873 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.498e-05/0.01548, allocations: 31.67 kB / 0.8873 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.01583, allocations: 44.28 kB / 0.8873 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.01642, allocations: 301.9 kB / 0.8876 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.874e-05/0.01647, allocations: 71.98 kB / 0.8877 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.599e-05/0.01655, allocations: 17.48 kB / 0.8877 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.01659, allocations: 16.5 kB / 0.8877 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of SimCode: time 1.112e-06/0.01659, allocations: 0 / 0.8877 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.006798/0.02339, allocations: 2.678 MB / 0.8903 GB, free: 9.309 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.7890903991647065]