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.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.0009318/0.0009318, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009073/0.0009073, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8904/0.8904, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.786/1.786, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.058e-05, allocations: 9.094 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001799/0.001819, allocations: 1.411 MB / 1.001 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.003814, allocations: 2.395 MB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.003842, allocations: 0 / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.004924, allocations: 0.5573 MB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.004969, allocations: 19.91 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.857e-06/0.004973, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.00517, allocations: 166.8 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.005216, allocations: 12.58 kB / 1.004 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.947e-05/0.005295, allocations: 87.78 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.005397, allocations: 59.83 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.005411, allocations: 4 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007484/0.00616, allocations: 411.3 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.006213, allocations: 35.84 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.532e-05/0.006288, allocations: 63.8 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.006758, allocations: 446.2 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.006761, allocations: 0 / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.193e-06/0.006763, allocations: 3.938 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.006768, allocations: 0 / 1.005 GB, free: 7.859 MB / 0.9636 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.0005327/0.007301, allocations: 498.9 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.007339, allocations: 12.75 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.007376, allocations: 106 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.00748, allocations: 100.1 kB / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.007638, allocations: 255.7 kB / 1.006 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.007679, allocations: 150.9 kB / 1.006 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.044e-05/0.007719, allocations: 154.9 kB / 1.006 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.099e-05/0.00777, allocations: 101.5 kB / 1.006 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.007789, allocations: 75.47 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.007823, allocations: 154.9 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.007857, allocations: 162.7 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.007892, allocations: 154.6 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.008157, allocations: 0.5045 MB / 1.007 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.008222, allocations: 169.1 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.008247, allocations: 84.14 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.008268, allocations: 75.28 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.008298, allocations: 109.8 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.008299, allocations: 0 / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 0.0001205/0.00842, allocations: 57.45 kB / 1.008 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.008465, allocations: 130.6 kB / 1.008 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.008773, allocations: 433.3 kB / 1.008 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.008784, allocations: 29.7 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.008856, allocations: 140.6 kB / 1.009 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.008858, allocations: 0 / 1.009 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.008924, allocations: 89.61 kB / 1.009 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.009012, allocations: 338.8 kB / 1.009 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.009098, allocations: 100.6 kB / 1.009 GB, free: 3.551 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.009209, allocations: 165.9 kB / 1.009 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.009423, allocations: 305.6 kB / 1.01 GB, free: 3.043 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009425, allocations: 0 / 1.01 GB, free: 3.043 MB / 0.9636 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003494/0.009775, allocations: 333 kB / 1.01 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.009787, allocations: 4 kB / 1.01 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.009796, allocations: 12.2 kB / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.009809, allocations: 0 / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.557e-06/0.009813, allocations: 7.938 kB / 1.01 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.009818, allocations: 0 / 1.01 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.13e-05/0.009909, allocations: 51.45 kB / 1.01 GB, free: 2.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.009917, allocations: 4 kB / 1.01 GB, free: 2.633 MB / 0.9636 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.0001737/0.01009, allocations: 237.1 kB / 1.01 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.01014, allocations: 124.8 kB / 1.01 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.01017, allocations: 114.9 kB / 1.01 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/0.01021, allocations: 188.2 kB / 1.011 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.123e-05/0.01025, allocations: 188.3 kB / 1.011 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.88e-05/0.01029, allocations: 176.3 kB / 1.011 GB, free: 1.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.01049, allocations: 448.2 kB / 1.011 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.01051, allocations: 113 kB / 1.012 GB, free: 0.9766 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.01067, allocations: 104.9 kB / 1.012 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.662e-05/0.01071, allocations: 176.3 kB / 1.012 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.01075, allocations: 184.2 kB / 1.012 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.598e-05/0.01078, allocations: 180.2 kB / 1.012 GB, free: 324 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.585e-05/0.01082, allocations: 180.2 kB / 1.012 GB, free: 136 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.01093, allocations: 327.6 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.01097, allocations: 132.8 kB / 1.013 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.01103, allocations: 180.2 kB / 1.013 GB, free: 15.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.0111, allocations: 105 kB / 1.013 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.01115, allocations: 192.1 kB / 1.013 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.01117, allocations: 101 kB / 1.013 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001811/0.01135, allocations: 279.1 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01135, allocations: 0 / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002706/0.01162, allocations: 83.88 kB / 1.014 GB, free: 14.71 MB / 0.9792 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.0004794/0.0121, allocations: 0.9646 MB / 1.015 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.01225, allocations: 120.1 kB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01225, allocations: 0 / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.01226, allocations: 0 / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.01254, allocations: 475.4 kB / 1.015 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.01466, allocations: 2.96 MB / 1.018 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.643e-05/0.01475, allocations: 168.3 kB / 1.018 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.33e-05/0.01477, allocations: 7.984 kB / 1.018 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.01482, allocations: 48.48 kB / 1.018 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of SimCode: time 4.8e-07/0.01482, allocations: 4 kB / 1.018 GB, free: 9.809 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.03557, allocations: 7.19 MB / 1.025 GB, free: 2.777 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/6.722, allocations: 9.484 kB / 1.025 GB, free: 2.773 MB / 0.9792 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.815672329626977]