Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.002127/0.002127, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.003196/0.003196, allocations: 163.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.688/1.688, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 3.095/3.095, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.205e-06/2.205e-06, allocations: 0 / 1 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.461e-05, allocations: 6.281 kB / 1 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003353/0.003388, allocations: 1.435 MB / 1.002 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003951/0.007338, allocations: 2.382 MB / 1.004 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.007384, allocations: 4 kB / 1.004 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.009594, allocations: 0.5592 MB / 1.004 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.318e-05/0.009667, allocations: 23.91 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 5.35e-06/0.009672, allocations: 0 / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.01, allocations: 174.8 kB / 1.005 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.01007, allocations: 8.594 kB / 1.005 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.01024, allocations: 79.8 kB / 1.005 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.01041, allocations: 63.83 kB / 1.005 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.01043, allocations: 3.938 kB / 1.005 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.01153, allocations: 407.4 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.01161, allocations: 39.78 kB / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.01172, allocations: 59.86 kB / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008683/0.01259, allocations: 450.1 kB / 1.006 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01259, allocations: 0 / 1.006 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01259, allocations: 4 kB / 1.006 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.0126, allocations: 0 / 1.006 GB, free: 1.652 MB / 0.9512 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.0009866/0.01359, allocations: 496.7 kB / 1.006 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.01363, allocations: 11.98 kB / 1.006 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.01384, allocations: 104.1 kB / 1.006 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.01413, allocations: 243.8 kB / 1.006 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.019e-05/0.01422, allocations: 154.9 kB / 1.007 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/0.01431, allocations: 158.9 kB / 1.007 GB, free: 456 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.01439, allocations: 105.5 kB / 1.007 GB, free: 344 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.01443, allocations: 79.47 kB / 1.007 GB, free: 264 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.0145, allocations: 154.9 kB / 1.007 GB, free: 108 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.88e-05/0.01459, allocations: 154.9 kB / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.052e-05/0.01467, allocations: 158.5 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.01513, allocations: 493.3 kB / 1.008 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.01525, allocations: 169.1 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.01533, allocations: 84.14 kB / 1.008 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.01537, allocations: 75.28 kB / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/0.01544, allocations: 109.8 kB / 1.008 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.01544, allocations: 0 / 1.008 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002296/0.01567, allocations: 57.45 kB / 1.008 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.01576, allocations: 134.7 kB / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.01629, allocations: 437.2 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.0163, allocations: 25.7 kB / 1.009 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.01642, allocations: 136.6 kB / 1.009 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.01642, allocations: 0 / 1.009 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.01653, allocations: 89.67 kB / 1.009 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.01671, allocations: 338.8 kB / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.01685, allocations: 100.6 kB / 1.01 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.01705, allocations: 165.9 kB / 1.01 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.01744, allocations: 309.6 kB / 1.01 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01744, allocations: 4 kB / 1.01 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006315/0.01807, allocations: 325.1 kB / 1.01 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01809, allocations: 7.938 kB / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.0181, allocations: 7.984 kB / 1.01 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.01812, allocations: 0 / 1.01 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.851e-06/0.01812, allocations: 7.938 kB / 1.01 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.01813, allocations: 0 / 1.01 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.01829, allocations: 59.45 kB / 1.01 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.01831, allocations: 4 kB / 1.01 GB, free: 12.56 MB / 0.9669 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.0002628/0.01857, allocations: 237.8 kB / 1.011 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.01867, allocations: 128.8 kB / 1.011 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.01874, allocations: 114.9 kB / 1.011 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.964e-05/0.01883, allocations: 180.3 kB / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-05/0.01892, allocations: 180.2 kB / 1.011 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.722e-05/0.01901, allocations: 184.3 kB / 1.011 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.01939, allocations: 432.8 kB / 1.012 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.535e-05/0.01947, allocations: 105 kB / 1.012 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.01953, allocations: 101 kB / 1.012 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.0197, allocations: 184.2 kB / 1.012 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.01985, allocations: 184.2 kB / 1.012 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-05/0.01995, allocations: 184.2 kB / 1.012 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-05/0.02003, allocations: 176.3 kB / 1.013 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.02026, allocations: 331.5 kB / 1.013 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.02037, allocations: 128.8 kB / 1.013 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.0205, allocations: 184.2 kB / 1.013 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.02067, allocations: 101 kB / 1.013 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.02078, allocations: 184.2 kB / 1.014 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.02084, allocations: 105 kB / 1.014 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000335/0.02118, allocations: 279.1 kB / 1.014 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02118, allocations: 0 / 1.014 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004277/0.02161, allocations: 83.88 kB / 1.014 GB, free: 8.676 MB / 0.9669 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.0004816/0.02209, allocations: 318.1 kB / 1.014 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.02233, allocations: 119.9 kB / 1.014 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02233, allocations: 0 / 1.014 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.524e-06/0.02234, allocations: 7.922 kB / 1.014 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.02282, allocations: 465.2 kB / 1.015 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.02355, allocations: 492.4 kB / 1.015 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.02373, allocations: 180.2 kB / 1.015 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.43e-05/0.02375, allocations: 0 / 1.015 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.02377, allocations: 12.5 kB / 1.016 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.02377, allocations: 0 / 1.016 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of Templates: time 0.008196/0.03197, allocations: 3.048 MB / 1.018 GB, free: 4.039 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.311629246920347]