Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001333/0.001333, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001459/0.001459, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.213/3.213, allocations: 0.49 GB / 0.7959 GB, free: 33.41 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: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) [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.00193/0.00193, allocations: 73.27 kB / 1.155 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3519, allocations: 176.1 MB / 1.327 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003348/0.3553, allocations: 1.43 MB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002892/0.3582, allocations: 1.958 MB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.3582, allocations: 7.938 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.3596, allocations: 389.9 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.172e-05/0.3597, allocations: 19.84 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.579e-06/0.3597, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.36, allocations: 123.2 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.41e-05/0.36, allocations: 9.688 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3601, allocations: 43.8 kB / 1.331 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.3603, allocations: 63.77 kB / 1.331 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3603, allocations: 4 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006848/0.361, allocations: 191.8 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.3611, allocations: 27.89 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.3612, allocations: 75.55 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.3618, allocations: 299 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3618, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3618, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.3618, allocations: 0 / 1.331 GB, free: 13.36 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.0008275/0.3626, allocations: 421.2 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.3627, allocations: 8.031 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.792e-05/0.3627, allocations: 75.47 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.3628, allocations: 110 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.363, allocations: 100.1 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.3633, allocations: 241.1 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.3633, allocations: 150.9 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.3634, allocations: 162.7 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.099e-05/0.3635, allocations: 105 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.3636, allocations: 79.22 kB / 1.333 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.3636, allocations: 150.6 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.428e-05/0.3637, allocations: 154.6 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.03e-05/0.3638, allocations: 154.6 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.3643, allocations: 488.8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3644, allocations: 165.1 kB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.3644, allocations: 92.02 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.3644, allocations: 79.28 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.3645, allocations: 105.8 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3645, allocations: 0 / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001927/0.3647, allocations: 49.59 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.3648, allocations: 126.7 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.3652, allocations: 333.5 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3652, allocations: 25.7 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.3653, allocations: 120.5 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.3653, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.3654, allocations: 65.67 kB / 1.335 GB, free: 9.684 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3655, allocations: 326.8 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.904e-05/0.3656, allocations: 63.89 kB / 1.335 GB, free: 9.293 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3657, allocations: 129.7 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.3661, allocations: 205.8 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3661, allocations: 0 / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004628/0.3665, allocations: 237.2 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3665, allocations: 8.219 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3665, allocations: 4 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3666, allocations: 4 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/0.3666, allocations: 0 / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.3666, allocations: 4 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3667, allocations: 31.73 kB / 1.336 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3667, allocations: 4 kB / 1.336 GB, free: 8.629 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.0002845/0.367, allocations: 225 kB / 1.336 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.3671, allocations: 124.8 kB / 1.336 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.954e-05/0.3672, allocations: 113.7 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.876e-05/0.3673, allocations: 184.3 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.069e-05/0.3674, allocations: 180.3 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-05/0.3675, allocations: 180.2 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.3678, allocations: 432.1 kB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.924e-05/0.3678, allocations: 108.9 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.3679, allocations: 101 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.456e-05/0.368, allocations: 180.3 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.975e-05/0.3681, allocations: 184.2 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.813e-05/0.3682, allocations: 184.3 kB / 1.338 GB, free: 6.344 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.029e-05/0.3683, allocations: 184.2 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3685, allocations: 319.6 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3686, allocations: 124.8 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3687, allocations: 176.3 kB / 1.338 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3688, allocations: 108.9 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.3689, allocations: 184.3 kB / 1.339 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/0.3689, allocations: 101.3 kB / 1.339 GB, free: 5.105 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000224/0.3692, allocations: 209.2 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3692, allocations: 7.938 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003861/0.3696, allocations: 67.86 kB / 1.339 GB, free: 4.824 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.0007523/0.3703, allocations: 0.935 MB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.3705, allocations: 84.08 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3705, allocations: 0 / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.3705, allocations: 0 / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.371, allocations: 464.1 kB / 1.34 GB, free: 3.324 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.3737, allocations: 2.451 MB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.3741, allocations: 0.7468 MB / 1.344 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.667e-05/0.3741, allocations: 4 kB / 1.344 GB, free: 15.97 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.3742, allocations: 31.42 kB / 1.344 GB, free: 15.94 MB / 1.045 GB Notification: Performance of SimCode: time 6.62e-07/0.3742, allocations: 4 kB / 1.344 GB, free: 15.94 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.4016, allocations: 4.977 MB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 9.109 kB / 1.348 GB, free: 11.12 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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: 18.579399064998142]