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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008681/0.008681, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001716/0.001716, allocations: 195.7 kB / 16.67 MB, free: 6.379 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3179, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002362/0.3203, allocations: 1.408 MB / 1.209 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00298/0.3233, allocations: 2.674 MB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.3234, allocations: 0 / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.3247, allocations: 0.5852 MB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.3248, allocations: 19.91 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.887e-06/0.3248, allocations: 0 / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.325, allocations: 158.9 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.2e-05/0.3251, allocations: 36.39 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/0.3252, allocations: 63.66 kB / 1.213 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.3253, allocations: 75.59 kB / 1.213 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3253, allocations: 0 / 1.213 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009094/0.3262, allocations: 479.2 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.3263, allocations: 35.78 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.3264, allocations: 95.42 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.3269, allocations: 438.2 kB / 1.214 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.327, allocations: 11.92 kB / 1.214 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.327, allocations: 0 / 1.214 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.327, allocations: 0 / 1.214 GB, free: 3.602 MB / 0.9669 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.0007335/0.3277, allocations: 0.5529 MB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3277, allocations: 8.625 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.3279, allocations: 103.8 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.3282, allocations: 302.4 kB / 1.215 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/0.3282, allocations: 154.9 kB / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.3283, allocations: 154.9 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.057e-05/0.3284, allocations: 105.5 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.3284, allocations: 75.47 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.3284, allocations: 154.5 kB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.3285, allocations: 158.6 kB / 1.215 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.641e-05/0.3286, allocations: 150.6 kB / 1.215 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.3289, allocations: 0.5289 MB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.816e-05/0.329, allocations: 173.1 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.329, allocations: 84.14 kB / 1.216 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.3291, allocations: 75.28 kB / 1.216 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.3291, allocations: 105.8 kB / 1.216 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.3291, allocations: 4 kB / 1.216 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001646/0.3293, allocations: 61.25 kB / 1.216 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.3294, allocations: 130.6 kB / 1.217 GB, free: 376 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.3298, allocations: 429.5 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3298, allocations: 25.7 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.3299, allocations: 140.5 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.3299, allocations: 3.938 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/0.33, allocations: 89.66 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3301, allocations: 342.8 kB / 1.218 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3302, allocations: 96.5 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.3304, allocations: 165.3 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.3307, allocations: 309.6 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3307, allocations: 0 / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004924/0.3312, allocations: 332.9 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3312, allocations: 4 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3313, allocations: 8.156 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3313, allocations: 4 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-06/0.3313, allocations: 7.938 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3313, allocations: 0 / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3314, allocations: 39.38 kB / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3315, allocations: 7.984 kB / 1.218 GB, free: 14.32 MB / 0.9825 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.0002155/0.3317, allocations: 246.7 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.3318, allocations: 124.6 kB / 1.219 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.3318, allocations: 122.9 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.588e-05/0.3319, allocations: 184.2 kB / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.535e-05/0.332, allocations: 184.2 kB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/0.332, allocations: 180.3 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.3324, allocations: 477.1 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-05/0.3324, allocations: 105.1 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.3324, allocations: 105 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.439e-05/0.3325, allocations: 180.2 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-05/0.3326, allocations: 188.2 kB / 1.22 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.068e-05/0.3327, allocations: 180.2 kB / 1.221 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.948e-05/0.3328, allocations: 176.3 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.3329, allocations: 331.4 kB / 1.221 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.333, allocations: 197.8 kB / 1.221 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.3331, allocations: 192.1 kB / 1.222 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.3333, allocations: 105 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.3334, allocations: 180.3 kB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.3334, allocations: 104.9 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002704/0.3337, allocations: 283.1 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.613e-06/0.3337, allocations: 0 / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003665/0.3341, allocations: 83.94 kB / 1.222 GB, free: 10.25 MB / 0.9825 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.0003776/0.3344, allocations: 306.3 kB / 1.223 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3347, allocations: 164.2 kB / 1.223 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3347, allocations: 4.062 kB / 1.223 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.3347, allocations: 7.922 kB / 1.223 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3351, allocations: 465.1 kB / 1.223 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.3357, allocations: 498.6 kB / 1.224 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.336, allocations: 0.7782 MB / 1.224 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.279e-05/0.3361, allocations: 4 kB / 1.224 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.3361, allocations: 11.44 kB / 1.224 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/0.3361, allocations: 0 / 1.224 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of Templates: time 0.00627/0.3424, allocations: 3.142 MB / 1.227 GB, free: 4.844 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) 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) Reference file matches