Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001916/0.001916, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001598/0.001598, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.339/3.339, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_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_12_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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 71.33 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4155, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002867/0.4184, allocations: 1.432 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003348/0.4217, allocations: 2.394 MB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.4218, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.4234, allocations: 0.5455 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.4234, allocations: 19.84 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.039e-06/0.4234, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.4237, allocations: 158.9 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.4238, allocations: 20.52 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.4239, allocations: 59.73 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.424, allocations: 83.52 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.424, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000883/0.4249, allocations: 419.5 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.425, allocations: 35.83 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.4251, allocations: 75.55 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006248/0.4257, allocations: 438 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4257, allocations: 0 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4257, allocations: 0 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.4257, allocations: 4 kB / 1.333 GB, free: 11.31 MB / 1.029 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.000863/0.4266, allocations: 492.7 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4266, allocations: 15.97 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.4268, allocations: 108 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.427, allocations: 240.6 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.4271, allocations: 154.9 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.4272, allocations: 154.9 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/0.4273, allocations: 105.5 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.4273, allocations: 75.47 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.86e-05/0.4274, allocations: 158.5 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.367e-05/0.4274, allocations: 154.6 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.4275, allocations: 154.5 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.4279, allocations: 497.3 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.846e-05/0.428, allocations: 165.1 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.4281, allocations: 80.14 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.4281, allocations: 75.28 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.603e-05/0.4282, allocations: 117.9 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.4282, allocations: 0 / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001846/0.4283, allocations: 61.39 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.4284, allocations: 130.7 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.4289, allocations: 437.3 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.4289, allocations: 25.7 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.429, allocations: 136.6 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.429, allocations: 0 / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4291, allocations: 89.67 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4293, allocations: 334.8 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.4294, allocations: 100.6 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.4296, allocations: 173.7 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.4299, allocations: 301.6 kB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4299, allocations: 0 / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005484/0.4305, allocations: 337 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.4305, allocations: 9.562 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4305, allocations: 3.984 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.4306, allocations: 7.938 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/0.4306, allocations: 0 / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4306, allocations: 8.062 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.4307, allocations: 47.52 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.4307, allocations: 4 kB / 1.337 GB, free: 6.227 MB / 1.029 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.0002715/0.431, allocations: 241.8 kB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.919e-05/0.4311, allocations: 132.8 kB / 1.338 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/0.4312, allocations: 110.9 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.317e-05/0.4312, allocations: 188.1 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.773e-05/0.4313, allocations: 176.3 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.903e-05/0.4314, allocations: 184.2 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.4317, allocations: 424.8 kB / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.763e-05/0.4318, allocations: 101 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.4318, allocations: 104.9 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.924e-05/0.4319, allocations: 188.3 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.432, allocations: 184.2 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.716e-05/0.4321, allocations: 180.5 kB / 1.339 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.938e-05/0.4322, allocations: 184.2 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.4324, allocations: 327.7 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.622e-05/0.4325, allocations: 132.7 kB / 1.34 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.4326, allocations: 180.3 kB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.4327, allocations: 101 kB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4328, allocations: 192.1 kB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.4329, allocations: 105 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000284/0.4332, allocations: 275.1 kB / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4332, allocations: 0 / 1.341 GB, free: 2.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004177/0.4336, allocations: 83.94 kB / 1.341 GB, free: 2.328 MB / 1.029 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.000415/0.434, allocations: 316 kB / 1.341 GB, free: 2.012 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.4342, allocations: 123.8 kB / 1.341 GB, free: 1.891 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4342, allocations: 0 / 1.341 GB, free: 1.891 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.4342, allocations: 0 / 1.341 GB, free: 1.891 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.4347, allocations: 466.4 kB / 1.342 GB, free: 1.434 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.4354, allocations: 0.5027 MB / 1.342 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.4355, allocations: 168.6 kB / 1.342 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.464e-05/0.4356, allocations: 4 kB / 1.342 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.4356, allocations: 15.42 kB / 1.342 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4356, allocations: 0 / 1.342 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of Templates: time 0.00759/0.4432, allocations: 3.336 MB / 1.346 GB, free: 13.38 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.333105506011634]