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.001018/0.001018, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001048/0.001048, allocations: 161 kB / 23.82 MB, free: 0.75 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.073/1.073, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.941/1.941, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.144e-06/2.144e-06, allocations: 0 / 0.8115 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.02e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002403/0.002433, allocations: 1.289 MB / 0.8128 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.004279, allocations: 1.617 MB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.004415, allocations: 4.656 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.004559, allocations: 31.55 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.00469, allocations: 77.5 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000958/0.005648, allocations: 496.4 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006356/0.006283, allocations: 0.6559 MB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.006549, allocations: 114.8 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000411/0.00696, allocations: 363.4 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.007179, allocations: 199.4 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.007252, allocations: 64 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.007369, allocations: 85.41 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.756e-05/0.007446, allocations: 79.69 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.00763, allocations: 191.6 kB / 0.8167 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.008137, allocations: 482.5 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.008143, allocations: 4.641 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.008144, allocations: 0 / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.008151, allocations: 1.062 kB / 0.8171 GB, free: 11.98 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.001047/0.009198, allocations: 0.9515 MB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.009244, allocations: 8.562 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.009384, allocations: 77.41 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.01009, allocations: 381.5 kB / 0.8185 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.01013, allocations: 28.88 kB / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.01018, allocations: 45.48 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.0106, allocations: 394.5 kB / 0.8189 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01062, allocations: 192 / 0.8189 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.01064, allocations: 9.094 kB / 0.819 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.01065, allocations: 8.125 kB / 0.819 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.01087, allocations: 268.7 kB / 0.8192 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.01219, allocations: 0.7801 MB / 0.82 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.01251, allocations: 337.1 kB / 0.8203 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.01272, allocations: 284.4 kB / 0.8206 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.01273, allocations: 8 kB / 0.8206 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.01302, allocations: 377.4 kB / 0.8209 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=44): time 2.624e-06/0.01302, allocations: 0 / 0.8209 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of matching and sorting (n=44): time 0.0007578/0.01378, allocations: 0.8775 MB / 0.8218 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.01386, allocations: 187.9 kB / 0.822 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.01408, allocations: 326.2 kB / 0.8223 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.01412, allocations: 41.69 kB / 0.8223 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.01424, allocations: 215.6 kB / 0.8225 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.01432, allocations: 135.6 kB / 0.8227 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.01449, allocations: 143.8 kB / 0.8228 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.01463, allocations: 0.5162 MB / 0.8233 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.01496, allocations: 440.8 kB / 0.8237 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.01534, allocations: 0.5442 MB / 0.8243 GB, free: 4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.01587, allocations: 0.7628 MB / 0.825 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.01588, allocations: 0 / 0.825 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001228/0.01711, allocations: 1.113 MB / 0.8261 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.936e-05/0.01721, allocations: 259.2 kB / 0.8263 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01721, allocations: 4 kB / 0.8263 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.01723, allocations: 5.344 kB / 0.8263 GB, free: 1.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.0174, allocations: 59.91 kB / 0.8264 GB, free: 1.512 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.01741, allocations: 4 kB / 0.8264 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.0177, allocations: 109.9 kB / 0.8265 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/0.01778, allocations: 79.67 kB / 0.8266 GB, free: 1.328 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.0001921/0.01797, allocations: 325 kB / 0.8269 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.01803, allocations: 63.75 kB / 0.827 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.924e-05/0.01809, allocations: 43.36 kB / 0.827 GB, free: 0.8633 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01809, allocations: 4 kB / 0.827 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.0181, allocations: 0 / 0.827 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.0181, allocations: 0 / 0.827 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009635/0.01907, allocations: 1.104 MB / 0.8281 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01907, allocations: 0 / 0.8281 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.0192, allocations: 57.03 kB / 0.8281 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.0192, allocations: 0 / 0.8281 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.01923, allocations: 19.98 kB / 0.8282 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01923, allocations: 1.062 kB / 0.8282 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01923, allocations: 0 / 0.8282 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.01981, allocations: 0.7995 MB / 0.8289 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.01984, allocations: 39.62 kB / 0.829 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.01987, allocations: 16 kB / 0.829 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.01997, allocations: 17.02 kB / 0.829 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.02005, allocations: 39.89 kB / 0.829 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.0201, allocations: 52.47 kB / 0.8291 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000136/0.02024, allocations: 220.4 kB / 0.8293 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.02024, allocations: 0 / 0.8293 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000326/0.02057, allocations: 103.9 kB / 0.8294 GB, free: 14.23 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.0001831/0.02075, allocations: 125.7 kB / 0.8295 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0009159/0.02166, allocations: 1.271 MB / 0.8308 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.02167, allocations: 0.6562 kB / 0.8308 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.022, allocations: 0.5629 MB / 0.8313 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.02238, allocations: 97.62 kB / 0.8314 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009841/0.02336, allocations: 0.8447 MB / 0.8322 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.664e-05/0.02344, allocations: 109 kB / 0.8323 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.0236, allocations: 84.05 kB / 0.8324 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.02366, allocations: 32.5 kB / 0.8324 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of SimCode: time 8.92e-07/0.02366, allocations: 0 / 0.8324 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of Templates: time 0.01042/0.03408, allocations: 7.041 MB / 0.8393 GB, free: 3.852 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.680735025089234]