Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001398/0.001398, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00153/0.00153, allocations: 161 kB / 24.16 MB, free: 336 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 0.949/0.949, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.913/1.913, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_12_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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.054e-05, allocations: 6.844 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003634/0.003664, allocations: 1.51 MB / 0.7615 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.006468, allocations: 1.935 MB / 0.7634 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.006508, allocations: 1.25 kB / 0.7634 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.007757, allocations: 360.4 kB / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.007821, allocations: 26.25 kB / 0.7638 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/0.007825, allocations: 0 / 0.7638 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.008075, allocations: 135 kB / 0.7639 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.008139, allocations: 14.31 kB / 0.7639 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.008265, allocations: 55.89 kB / 0.764 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.00839, allocations: 51.83 kB / 0.764 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.008411, allocations: 6.75 kB / 0.764 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004928/0.008904, allocations: 183.9 kB / 0.7642 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.008962, allocations: 31.86 kB / 0.7642 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.009033, allocations: 51.84 kB / 0.7643 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.009491, allocations: 290.8 kB / 0.7645 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.009495, allocations: 1.188 kB / 0.7646 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/0.009496, allocations: 0 / 0.7646 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.009501, allocations: 0 / 0.7646 GB, free: 2.02 MB / 0.7136 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.0006303/0.01013, allocations: 388.8 kB / 0.7649 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.01017, allocations: 12.97 kB / 0.7649 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.01033, allocations: 92.14 kB / 0.765 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.01051, allocations: 220.4 kB / 0.7652 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.122e-05/0.01056, allocations: 155.7 kB / 0.7654 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.01061, allocations: 158.9 kB / 0.7655 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.111e-05/0.01068, allocations: 102 kB / 0.7656 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.0107, allocations: 78.91 kB / 0.7657 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.01075, allocations: 154.7 kB / 0.7659 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.0108, allocations: 150.6 kB / 0.766 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.01085, allocations: 158.5 kB / 0.7661 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.01112, allocations: 373.1 kB / 0.7665 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.568e-05/0.01121, allocations: 169.1 kB / 0.7667 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.01123, allocations: 80.14 kB / 0.7667 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.01127, allocations: 79.27 kB / 0.7668 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.01131, allocations: 109.8 kB / 0.7669 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.01131, allocations: 6.625 kB / 0.7669 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 0.0001765/0.01149, allocations: 41.62 kB / 0.767 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.01154, allocations: 126.7 kB / 0.7671 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.0118, allocations: 276.6 kB / 0.7674 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.01181, allocations: 25.7 kB / 0.7674 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.01187, allocations: 112.5 kB / 0.7675 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.01187, allocations: 0 / 0.7675 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.01195, allocations: 58.33 kB / 0.7675 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.01207, allocations: 334.8 kB / 0.7679 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.01214, allocations: 32.17 kB / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.01221, allocations: 77.7 kB / 0.768 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.01238, allocations: 153.7 kB / 0.7681 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01238, allocations: 0.6875 kB / 0.7681 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003723/0.01276, allocations: 185.2 kB / 0.7683 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01277, allocations: 9.312 kB / 0.7683 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01278, allocations: 0 / 0.7683 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.0128, allocations: 4 kB / 0.7683 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.496e-06/0.0128, allocations: 5.516 kB / 0.7683 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.0128, allocations: 4 kB / 0.7683 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.01292, allocations: 27.67 kB / 0.7683 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.01294, allocations: 4 kB / 0.7683 GB, free: 13.93 MB / 0.7292 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.0001233/0.01306, allocations: 193.2 kB / 0.7685 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.01313, allocations: 117 kB / 0.7686 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.01318, allocations: 110.9 kB / 0.7687 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.187e-05/0.01325, allocations: 192.2 kB / 0.7689 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.963e-05/0.0133, allocations: 176.3 kB / 0.7691 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-05/0.01335, allocations: 185.1 kB / 0.7693 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.01357, allocations: 349.4 kB / 0.7696 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/0.0136, allocations: 101 kB / 0.7697 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.01364, allocations: 105.7 kB / 0.7698 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.033e-05/0.0137, allocations: 184.8 kB / 0.77 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.01376, allocations: 180.2 kB / 0.7701 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.602e-05/0.01381, allocations: 180.8 kB / 0.7703 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.127e-05/0.01387, allocations: 181.8 kB / 0.7705 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.01401, allocations: 315.7 kB / 0.7708 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.01407, allocations: 124.8 kB / 0.7709 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.01415, allocations: 184.2 kB / 0.7711 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01426, allocations: 101.6 kB / 0.7712 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.01432, allocations: 184.2 kB / 0.7714 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.01435, allocations: 105.6 kB / 0.7715 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001091/0.01446, allocations: 83.92 kB / 0.7715 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01446, allocations: 0 / 0.7715 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003641/0.01483, allocations: 63.88 kB / 0.7716 GB, free: 10.41 MB / 0.7292 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.0003314/0.01516, allocations: 265 kB / 0.7719 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.01528, allocations: 68.17 kB / 0.7719 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.01529, allocations: 4 kB / 0.7719 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.01529, allocations: 0 / 0.7719 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.01561, allocations: 460.2 kB / 0.7724 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.01615, allocations: 359.8 kB / 0.7727 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.236e-05/0.01619, allocations: 83.88 kB / 0.7728 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.288e-06/0.0162, allocations: 0 / 0.7728 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.01624, allocations: 63.27 kB / 0.7728 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of SimCode: time 9.22e-07/0.01624, allocations: 0 / 0.7728 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of Templates: time 0.004528/0.02077, allocations: 2.773 MB / 0.7756 GB, free: 6.449 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.0682483040727675]