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.001326/0.001326, allocations: 106.2 kB / 16.27 MB, free: 5.996 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.001308/0.001309, allocations: 191.5 kB / 17.2 MB, free: 5.605 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.824/2.824, allocations: 437.1 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002893/0.002893, allocations: 67.94 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3343, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002837/0.3372, allocations: 1.42 MB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003468/0.3407, allocations: 2.668 MB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.3407, allocations: 0 / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.3423, allocations: 0.5804 MB / 1.023 GB, free: 5.945 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.3424, allocations: 15.91 kB / 1.023 GB, free: 5.93 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.368e-06/0.3424, allocations: 0 / 1.023 GB, free: 5.93 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.3427, allocations: 166.9 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.356e-05/0.3428, allocations: 36.39 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.3428, allocations: 59.73 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.343, allocations: 75.59 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.343, allocations: 4 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3441, allocations: 471.3 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.3442, allocations: 35.78 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3443, allocations: 91.42 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006743/0.3449, allocations: 446.1 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.345, allocations: 0 / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.302e-06/0.345, allocations: 0 / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.345, allocations: 0 / 1.024 GB, free: 4.566 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.0009341/0.3459, allocations: 0.5586 MB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.346, allocations: 12.88 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.3461, allocations: 103.9 kB / 1.025 GB, free: 3.844 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.3465, allocations: 298.4 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/0.3465, allocations: 154.9 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3467, allocations: 158.9 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.283e-05/0.3467, allocations: 101.5 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/0.3468, allocations: 75.47 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.3469, allocations: 162.4 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-05/0.3469, allocations: 150.6 kB / 1.026 GB, free: 2.715 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.347, allocations: 150.6 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.3476, allocations: 0.5404 MB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3477, allocations: 169.1 kB / 1.026 GB, free: 1.801 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.3478, allocations: 80.14 kB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.3478, allocations: 75.28 kB / 1.027 GB, free: 1.645 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/0.3479, allocations: 117.8 kB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3479, allocations: 0 / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0002027/0.3481, allocations: 57.3 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.3482, allocations: 126.7 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004859/0.3487, allocations: 433.2 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3487, allocations: 33.7 kB / 1.027 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.3488, allocations: 132.4 kB / 1.027 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/0.3488, allocations: 4 kB / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3489, allocations: 93.66 kB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3491, allocations: 338.8 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.3492, allocations: 96.5 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3495, allocations: 161.3 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.3499, allocations: 309.6 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3499, allocations: 0 / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005531/0.3504, allocations: 332.9 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3505, allocations: 4 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3505, allocations: 7.938 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3505, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-06/0.3505, allocations: 8 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.3505, allocations: 4.203 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.3507, allocations: 51.28 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.3507, allocations: 4 kB / 1.029 GB, free: 15.27 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.0003273/0.351, allocations: 241 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.3511, allocations: 128.6 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.687e-05/0.3512, allocations: 122.9 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.421e-05/0.3513, allocations: 184.2 kB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.874e-05/0.3514, allocations: 176.3 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.381e-05/0.3515, allocations: 184.3 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.3519, allocations: 477.1 kB / 1.03 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001152/0.352, allocations: 101 kB / 1.03 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.352, allocations: 104.9 kB / 1.03 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.512e-05/0.3521, allocations: 184.2 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/0.3522, allocations: 184.2 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.763e-05/0.3523, allocations: 180.4 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001276/0.3524, allocations: 180.3 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.3526, allocations: 327.5 kB / 1.031 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.3528, allocations: 205.7 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.3529, allocations: 188.1 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3531, allocations: 105 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.3532, allocations: 180.2 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/0.3533, allocations: 101 kB / 1.032 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00034/0.3536, allocations: 287.1 kB / 1.032 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3536, allocations: 3.938 kB / 1.032 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004174/0.354, allocations: 80 kB / 1.033 GB, free: 11.21 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.0005771/0.3546, allocations: 313.6 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.3549, allocations: 167.8 kB / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.355, allocations: 0 / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.355, allocations: 0 / 1.033 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.3555, allocations: 471.1 kB / 1.033 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.3564, allocations: 0.5143 MB / 1.034 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.3569, allocations: 0.7743 MB / 1.035 GB, free: 8.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.3569, allocations: 7.438 kB / 1.035 GB, free: 8.922 MB / 0.8106 GB Notification: Performance of SimCode: time 6.71e-07/0.3569, allocations: 4 kB / 1.035 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of Templates: time 0.005599/0.3625, allocations: 3.145 MB / 1.038 GB, free: 5.773 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