Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001465/0.001465, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001732/0.001732, allocations: 169 kB / 24.28 MB, free: 276 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.028/1.028, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.93/1.93, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.834e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002093/0.002121, allocations: 1.291 MB / 0.8128 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.003872, allocations: 1.609 MB / 0.8144 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.004001, allocations: 4 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.004165, allocations: 33.3 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.004291, allocations: 83.36 kB / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008677/0.005159, allocations: 488.2 kB / 0.8149 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.005716, allocations: 0.6583 MB / 0.8156 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.005948, allocations: 109.3 kB / 0.8157 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.006263, allocations: 367.4 kB / 0.816 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.006471, allocations: 199.4 kB / 0.8162 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.515e-05/0.006536, allocations: 64 kB / 0.8163 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.006638, allocations: 76.7 kB / 0.8164 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.006711, allocations: 83.67 kB / 0.8164 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.006868, allocations: 188.1 kB / 0.8166 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.007332, allocations: 494.4 kB / 0.8171 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.007335, allocations: 1.656 kB / 0.8171 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.007337, allocations: 0 / 0.8171 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.007344, allocations: 0 / 0.8171 GB, free: 12.35 MB / 0.7761 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.0009507/0.008295, allocations: 0.9561 MB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.008334, allocations: 8.031 kB / 0.818 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.008456, allocations: 73.8 kB / 0.8181 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.00912, allocations: 382.1 kB / 0.8185 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.009157, allocations: 32.86 kB / 0.8185 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.009208, allocations: 36.38 kB / 0.8185 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.00961, allocations: 398.9 kB / 0.8189 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.009619, allocations: 192 / 0.8189 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.00964, allocations: 12.38 kB / 0.8189 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.009651, allocations: 8.812 kB / 0.8189 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.009869, allocations: 268 kB / 0.8192 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009437/0.01081, allocations: 0.781 MB / 0.82 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.01111, allocations: 324.9 kB / 0.8203 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.01131, allocations: 284.4 kB / 0.8205 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.01133, allocations: 10.38 kB / 0.8206 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.0116, allocations: 370 kB / 0.8209 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=44): time 2.154e-06/0.0116, allocations: 3.938 kB / 0.8209 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of matching and sorting (n=44): time 0.0007135/0.01231, allocations: 0.8794 MB / 0.8218 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.01238, allocations: 195.9 kB / 0.822 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.01259, allocations: 318.3 kB / 0.8223 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.01264, allocations: 41.7 kB / 0.8223 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.01275, allocations: 212.1 kB / 0.8225 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.384e-05/0.01282, allocations: 138.9 kB / 0.8226 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.01297, allocations: 144.3 kB / 0.8228 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.0131, allocations: 0.5214 MB / 0.8233 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.01342, allocations: 436.2 kB / 0.8237 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.01378, allocations: 0.5403 MB / 0.8242 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005089/0.01429, allocations: 0.7644 MB / 0.825 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01429, allocations: 7.688 kB / 0.825 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008859/0.01518, allocations: 1.1 MB / 0.8261 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.01528, allocations: 267.2 kB / 0.8263 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01529, allocations: 4 kB / 0.8263 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.0153, allocations: 6 kB / 0.8263 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.01546, allocations: 59.91 kB / 0.8264 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.01546, allocations: 4 kB / 0.8264 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.01575, allocations: 121.6 kB / 0.8265 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/0.01582, allocations: 71.86 kB / 0.8266 GB, free: 1.688 MB / 0.7761 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.0001881/0.01601, allocations: 327.7 kB / 0.8269 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.01606, allocations: 55.77 kB / 0.8269 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.01612, allocations: 48.39 kB / 0.827 GB, free: 1.227 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01612, allocations: 4 kB / 0.827 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.01613, allocations: 0.875 kB / 0.827 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01613, allocations: 3.984 kB / 0.827 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008532/0.01698, allocations: 1.1 MB / 0.8281 GB, free: 20 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01699, allocations: 1.781 kB / 0.8281 GB, free: 20 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.01711, allocations: 59.89 kB / 0.8281 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01712, allocations: 4 kB / 0.8281 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01714, allocations: 8 kB / 0.8281 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.01714, allocations: 7.984 kB / 0.8281 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01714, allocations: 2.375 kB / 0.8281 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.01766, allocations: 0.8025 MB / 0.8289 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.01769, allocations: 35.64 kB / 0.829 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.01772, allocations: 8 kB / 0.829 GB, free: 15.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.01781, allocations: 19.98 kB / 0.829 GB, free: 15 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.01789, allocations: 45.73 kB / 0.829 GB, free: 14.95 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.01793, allocations: 47.94 kB / 0.8291 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001216/0.01806, allocations: 215 kB / 0.8293 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.01806, allocations: 0 / 0.8293 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002875/0.01834, allocations: 111.9 kB / 0.8294 GB, free: 14.59 MB / 0.7917 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.000154/0.0185, allocations: 119.4 kB / 0.8295 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008555/0.01935, allocations: 1.27 MB / 0.8307 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01936, allocations: 0 / 0.8307 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.01968, allocations: 0.5634 MB / 0.8313 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.02005, allocations: 97.08 kB / 0.8314 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008912/0.02094, allocations: 0.8509 MB / 0.8322 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.523e-05/0.02101, allocations: 105 kB / 0.8323 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.02115, allocations: 83.2 kB / 0.8324 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.0212, allocations: 40.48 kB / 0.8324 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of SimCode: time 1.052e-06/0.0212, allocations: 3.938 kB / 0.8324 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of Templates: time 0.008742/0.02994, allocations: 7.027 MB / 0.8393 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.578105377964675]