Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.00103/0.00103, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001177/0.001177, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9977/0.9977, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.042/2.042, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndSig.u.[0-9,]+.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0.7656 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.197e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002108/0.00214, allocations: 1.297 MB / 0.8795 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.003942, allocations: 1.605 MB / 0.881 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.004067, allocations: 7.938 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.004212, allocations: 35.55 kB / 0.8811 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.004327, allocations: 75.88 kB / 0.8811 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008596/0.005187, allocations: 492.8 kB / 0.8816 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005211/0.005708, allocations: 0.6572 MB / 0.8823 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.005975, allocations: 109.3 kB / 0.8824 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.006289, allocations: 367.5 kB / 0.8827 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.00651, allocations: 201 kB / 0.8829 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.574e-05/0.006586, allocations: 64 kB / 0.883 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.006715, allocations: 83.92 kB / 0.883 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.006804, allocations: 83.67 kB / 0.8831 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.006973, allocations: 187.6 kB / 0.8833 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004443/0.007417, allocations: 488.6 kB / 0.8838 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.007421, allocations: 0 / 0.8838 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.263e-06/0.007422, allocations: 0 / 0.8838 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.007429, allocations: 0 / 0.8838 GB, free: 0.9414 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001346/0.008775, allocations: 0.9538 MB / 0.8847 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.008819, allocations: 12.02 kB / 0.8847 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.008944, allocations: 72.7 kB / 0.8848 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/0.009617, allocations: 383.6 kB / 0.8851 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.009657, allocations: 32.86 kB / 0.8852 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.009708, allocations: 40.38 kB / 0.8852 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.01012, allocations: 397.7 kB / 0.8856 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01013, allocations: 192 / 0.8856 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.01015, allocations: 8.375 kB / 0.8856 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.01017, allocations: 8.125 kB / 0.8856 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.01039, allocations: 263.4 kB / 0.8859 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.01141, allocations: 0.7745 MB / 0.8866 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.01176, allocations: 332.4 kB / 0.8869 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.01198, allocations: 280.7 kB / 0.8872 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.01199, allocations: 12 kB / 0.8872 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.0123, allocations: 377.1 kB / 0.8876 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 2.876e-06/0.0123, allocations: 0 / 0.8876 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.0007773/0.01308, allocations: 0.8782 MB / 0.8884 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.01316, allocations: 195.8 kB / 0.8886 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.01338, allocations: 322.3 kB / 0.8889 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.01343, allocations: 41.69 kB / 0.889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.01356, allocations: 223.5 kB / 0.8892 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.01364, allocations: 134.9 kB / 0.8893 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.0138, allocations: 143.8 kB / 0.8894 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.01398, allocations: 0.5196 MB / 0.8899 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.01433, allocations: 436.2 kB / 0.8904 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.01472, allocations: 0.5365 MB / 0.8909 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.01536, allocations: 0.7657 MB / 0.8916 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.01536, allocations: 4 kB / 0.8916 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009069/0.01627, allocations: 1.108 MB / 0.8927 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.01637, allocations: 267.3 kB / 0.893 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.01638, allocations: 4 kB / 0.893 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.0164, allocations: 4 kB / 0.893 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.01657, allocations: 59.91 kB / 0.893 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.01658, allocations: 7.938 kB / 0.8931 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.01688, allocations: 111.6 kB / 0.8932 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.01695, allocations: 75.91 kB / 0.8932 GB, free: 6.258 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0001781/0.01713, allocations: 317.7 kB / 0.8935 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/0.01719, allocations: 63.75 kB / 0.8936 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.01724, allocations: 43.36 kB / 0.8936 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.01725, allocations: 4 kB / 0.8936 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.01725, allocations: 0 / 0.8936 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01726, allocations: 3.938 kB / 0.8936 GB, free: 5.793 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009354/0.01819, allocations: 1.102 MB / 0.8947 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.0182, allocations: 0 / 0.8947 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.01834, allocations: 59.89 kB / 0.8948 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.01835, allocations: 0 / 0.8948 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.01837, allocations: 8 kB / 0.8948 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01837, allocations: 4 kB / 0.8948 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01838, allocations: 7.938 kB / 0.8948 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006291/0.01901, allocations: 0.8028 MB / 0.8956 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.01905, allocations: 39.62 kB / 0.8956 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.01909, allocations: 16 kB / 0.8956 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01919, allocations: 15.98 kB / 0.8956 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.01927, allocations: 35.94 kB / 0.8957 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.01932, allocations: 51.88 kB / 0.8957 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000126/0.01945, allocations: 219 kB / 0.8959 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01945, allocations: 0 / 0.8959 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003254/0.01978, allocations: 103.9 kB / 0.896 GB, free: 3.156 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.0001836/0.01996, allocations: 124.3 kB / 0.8962 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000859/0.02082, allocations: 1.266 MB / 0.8974 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02082, allocations: 0 / 0.8974 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005691/0.02139, allocations: 0.5599 MB / 0.8979 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.02178, allocations: 105 kB / 0.898 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.02275, allocations: 0.8546 MB / 0.8989 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.949e-05/0.02282, allocations: 109.1 kB / 0.899 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.02295, allocations: 79.2 kB / 0.8991 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.02301, allocations: 32.5 kB / 0.8991 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/0.02301, allocations: 4 kB / 0.8991 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of Templates: time 0.009909/0.03292, allocations: 7.031 MB / 0.906 GB, free: 8.75 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.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.408560846932232]