Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 105.1 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 195.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437.1 MB / 0.7107 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003002/0.003002, allocations: 71.98 kB / 0.8694 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4597/0.4627, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003178/0.466, allocations: 1.471 MB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0037/0.4697, allocations: 2.636 MB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.4698, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.4717, allocations: 0.5666 MB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.02e-05/0.4718, allocations: 15.91 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.738e-06/0.4718, allocations: 4 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.4721, allocations: 158.9 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.4722, allocations: 36.39 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.4723, allocations: 51.75 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.4725, allocations: 87.52 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.4725, allocations: 4 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.4737, allocations: 499.2 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.686e-05/0.4738, allocations: 39.77 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.4739, allocations: 95.42 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.4743, allocations: 294.7 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4744, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4744, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.4744, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 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.0009081/0.4753, allocations: 0.5568 MB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4753, allocations: 12.88 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.4755, allocations: 103.9 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.4759, allocations: 306.3 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/0.476, allocations: 150.9 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.642e-05/0.476, allocations: 150.9 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.53e-05/0.4761, allocations: 109.5 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.4762, allocations: 75.47 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/0.4763, allocations: 162.5 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.85e-05/0.4764, allocations: 150.6 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.038e-05/0.4764, allocations: 150.6 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/0.4769, allocations: 0.5404 MB / 1.026 GB, free: 2.43 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.477, allocations: 169.1 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.4771, allocations: 80.14 kB / 1.026 GB, free: 2.172 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.4771, allocations: 75.28 kB / 1.026 GB, free: 2.098 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.741e-05/0.4772, allocations: 105.8 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.213e-06/0.4772, allocations: 4 kB / 1.026 GB, free: 1.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0002347/0.4774, allocations: 61.3 kB / 1.026 GB, free: 1.914 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.4775, allocations: 130.7 kB / 1.026 GB, free: 1.773 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/0.478, allocations: 429.2 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.4781, allocations: 29.7 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4782, allocations: 132.5 kB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.4782, allocations: 0 / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.4783, allocations: 85.67 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4785, allocations: 350.8 kB / 1.027 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.4786, allocations: 96.5 kB / 1.027 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.4788, allocations: 169.3 kB / 1.027 GB, free: 472 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.4792, allocations: 305.6 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4792, allocations: 0 / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005911/0.4798, allocations: 340.9 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4798, allocations: 4 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4798, allocations: 7.938 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4799, allocations: 0 / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-06/0.4799, allocations: 4 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4799, allocations: 0 / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.48, allocations: 43.28 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.48, allocations: 4.219 kB / 1.028 GB, free: 15.73 MB / 0.8106 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.0002632/0.4803, allocations: 250.1 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.4804, allocations: 128.6 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.4805, allocations: 118.9 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-05/0.4806, allocations: 180.2 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.893e-05/0.4807, allocations: 184.3 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-05/0.4808, allocations: 180.2 kB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.4811, allocations: 477.1 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.808e-05/0.4812, allocations: 105 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.4813, allocations: 108.9 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.703e-05/0.4813, allocations: 176.3 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.095e-05/0.4814, allocations: 184.2 kB / 1.03 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.081e-05/0.4815, allocations: 188.2 kB / 1.03 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.779e-05/0.4816, allocations: 180.3 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.4818, allocations: 315.5 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.482, allocations: 214 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.4821, allocations: 184.1 kB / 1.031 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.4823, allocations: 109 kB / 1.031 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.4824, allocations: 180.2 kB / 1.031 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.736e-05/0.4824, allocations: 105 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003023/0.4827, allocations: 279.1 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4827, allocations: 0 / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004167/0.4832, allocations: 83.98 kB / 1.032 GB, free: 11.66 MB / 0.8106 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.0003925/0.4836, allocations: 298.8 kB / 1.032 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.4838, allocations: 167.8 kB / 1.032 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4838, allocations: 0 / 1.032 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.952e-06/0.4839, allocations: 4 kB / 1.032 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.4843, allocations: 472.5 kB / 1.033 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.4851, allocations: 0.5513 MB / 1.033 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.4856, allocations: 0.7743 MB / 1.034 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.4856, allocations: 11.44 kB / 1.034 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.4856, allocations: 3.938 kB / 1.034 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of Templates: time 0.006573/0.4922, allocations: 3.053 MB / 1.037 GB, free: 6.289 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches