Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.00109/0.00109, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001061/0.001061, allocations: 181 kB / 23.35 MB, free: 1.137 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.9447/0.9447, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.405/2.405, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.603e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.005527/0.005553, allocations: 1.45 MB / 0.84 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.007703, allocations: 1.934 MB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.007762, allocations: 0 / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.01086, allocations: 381.6 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.01094, allocations: 19.84 kB / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.01094, allocations: 0 / 0.8423 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.01118, allocations: 127.1 kB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.01124, allocations: 10.33 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.01134, allocations: 67.8 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.01146, allocations: 47.91 kB / 0.8425 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.01147, allocations: 8 kB / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.01196, allocations: 175.8 kB / 0.8427 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.01203, allocations: 31.91 kB / 0.8427 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.116e-05/0.01211, allocations: 51.86 kB / 0.8427 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.0126, allocations: 286.9 kB / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01261, allocations: 0 / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.332e-06/0.01261, allocations: 0 / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.01261, allocations: 0 / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005968/0.01321, allocations: 403.7 kB / 0.8434 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.01325, allocations: 16.02 kB / 0.8434 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.01339, allocations: 88.2 kB / 0.8435 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.01357, allocations: 216.4 kB / 0.8437 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.01362, allocations: 158.9 kB / 0.8439 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.01367, allocations: 154.9 kB / 0.844 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.559e-05/0.01373, allocations: 105.5 kB / 0.8441 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.01375, allocations: 75.47 kB / 0.8442 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.0138, allocations: 158.7 kB / 0.8443 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.01384, allocations: 150.6 kB / 0.8445 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.01389, allocations: 154.6 kB / 0.8446 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.0141, allocations: 373.1 kB / 0.845 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.729e-05/0.01419, allocations: 173.1 kB / 0.8451 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.01422, allocations: 84.14 kB / 0.8452 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.01424, allocations: 75.28 kB / 0.8453 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.01428, allocations: 105.8 kB / 0.8454 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.01429, allocations: 0 / 0.8454 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0001475/0.01443, allocations: 37.69 kB / 0.8454 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.01449, allocations: 134.6 kB / 0.8456 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.01472, allocations: 264.7 kB / 0.8458 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.01474, allocations: 29.69 kB / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.01479, allocations: 116.5 kB / 0.846 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.01479, allocations: 0 / 0.846 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.01487, allocations: 61.64 kB / 0.846 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01497, allocations: 330.8 kB / 0.8463 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.01504, allocations: 26.83 kB / 0.8464 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.0151, allocations: 73.97 kB / 0.8464 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.01527, allocations: 161.6 kB / 0.8466 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01527, allocations: 0 / 0.8466 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003484/0.01562, allocations: 173.3 kB / 0.8467 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.01564, allocations: 4 kB / 0.8467 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.01565, allocations: 4.219 kB / 0.8468 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.01566, allocations: 4 kB / 0.8468 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-06/0.01567, allocations: 7.938 kB / 0.8468 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01568, allocations: 7.922 kB / 0.8468 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.01579, allocations: 35.67 kB / 0.8468 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.0158, allocations: 4 kB / 0.8468 GB, free: 5.523 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001214/0.01592, allocations: 188 kB / 0.847 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.01599, allocations: 113 kB / 0.8471 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.01604, allocations: 117.8 kB / 0.8472 GB, free: 5.094 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/0.01609, allocations: 180.2 kB / 0.8474 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-05/0.01615, allocations: 192.2 kB / 0.8476 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-05/0.0162, allocations: 180.2 kB / 0.8477 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.01643, allocations: 353.3 kB / 0.8481 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-05/0.01646, allocations: 105 kB / 0.8482 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.01649, allocations: 109 kB / 0.8483 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.472e-05/0.01655, allocations: 180.2 kB / 0.8484 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.0166, allocations: 180.3 kB / 0.8486 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.448e-05/0.01665, allocations: 184.2 kB / 0.8488 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.409e-05/0.01671, allocations: 176.3 kB / 0.849 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.01684, allocations: 311.7 kB / 0.8493 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.01691, allocations: 124.8 kB / 0.8494 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.01699, allocations: 184.2 kB / 0.8496 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.01711, allocations: 109 kB / 0.8497 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.01717, allocations: 180.2 kB / 0.8498 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.01719, allocations: 101 kB / 0.8499 GB, free: 2.156 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001021/0.0173, allocations: 86.75 kB / 0.85 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.31e-07/0.0173, allocations: 0 / 0.85 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003742/0.01767, allocations: 67.88 kB / 0.8501 GB, free: 2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003477/0.01802, allocations: 271.9 kB / 0.8503 GB, free: 1.727 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.01815, allocations: 52.7 kB / 0.8504 GB, free: 1.672 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.01816, allocations: 4 kB / 0.8504 GB, free: 1.668 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/0.01816, allocations: 0 / 0.8504 GB, free: 1.668 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.01848, allocations: 472.1 kB / 0.8508 GB, free: 1.203 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.01918, allocations: 355.8 kB / 0.8512 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.775e-05/0.01923, allocations: 75.75 kB / 0.8513 GB, free: 0.7266 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.335e-05/0.01925, allocations: 8 kB / 0.8513 GB, free: 0.7188 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.0193, allocations: 55.36 kB / 0.8513 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of SimCode: time 1.282e-06/0.0193, allocations: 7.938 kB / 0.8513 GB, free: 0.6562 MB / 0.8073 GB Notification: Performance of Templates: time 0.007148/0.02645, allocations: 2.79 MB / 0.854 GB, free: 13.87 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.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.266714517958462]