Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.646/2.646, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 68.11 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2642, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002222/0.2665, allocations: 1.397 MB / 1.222 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.2686, allocations: 1.931 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.2687, allocations: 0 / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008836/0.2696, allocations: 385.9 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.2696, allocations: 19.91 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.2696, allocations: 0 / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.2698, allocations: 127.1 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.2699, allocations: 21.48 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.2699, allocations: 51.73 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.2701, allocations: 67.7 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.2701, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.2705, allocations: 183.9 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.2706, allocations: 35.83 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.2707, allocations: 67.61 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.2711, allocations: 282.8 kB / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2711, allocations: 0 / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.276e-06/0.2711, allocations: 0 / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.2711, allocations: 3.938 kB / 1.225 GB, free: 9.746 MB / 0.9825 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.0006466/0.2718, allocations: 0.4944 MB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2718, allocations: 8.031 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.2719, allocations: 114 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.272, allocations: 96.11 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.2723, allocations: 295.3 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.2723, allocations: 154.9 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.349e-05/0.2724, allocations: 154.9 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.062e-05/0.2725, allocations: 108.9 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.2725, allocations: 75.28 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/0.2726, allocations: 154.5 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/0.2726, allocations: 150.6 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.559e-05/0.2727, allocations: 154.6 kB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.273, allocations: 0.5017 MB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.497e-05/0.2731, allocations: 169.1 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.2732, allocations: 84.12 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.2732, allocations: 83.22 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.2733, allocations: 113.8 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.2733, allocations: 0 / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001553/0.2734, allocations: 49.5 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.2735, allocations: 126.7 kB / 1.228 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.2738, allocations: 322.4 kB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2738, allocations: 29.7 kB / 1.228 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.2739, allocations: 120.5 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-06/0.2739, allocations: 0 / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.274, allocations: 65.67 kB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.2741, allocations: 330.9 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.2742, allocations: 63.95 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.2743, allocations: 118 kB / 1.229 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.2746, allocations: 213.8 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2746, allocations: 0 / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000385/0.275, allocations: 237.3 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.275, allocations: 13.5 kB / 1.229 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.275, allocations: 0 / 1.229 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.275, allocations: 4 kB / 1.229 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.275, allocations: 4.156 kB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.275, allocations: 8 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2751, allocations: 27.67 kB / 1.229 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.2752, allocations: 4 kB / 1.229 GB, free: 4.895 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.0001906/0.2754, allocations: 232.2 kB / 1.229 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.2754, allocations: 124.7 kB / 1.229 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.2755, allocations: 117.8 kB / 1.229 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/0.2756, allocations: 184.3 kB / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.66e-05/0.2757, allocations: 180.2 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.267e-05/0.2757, allocations: 176.3 kB / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.276, allocations: 453.1 kB / 1.23 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-05/0.276, allocations: 104.9 kB / 1.231 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.2761, allocations: 113 kB / 1.231 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.957e-05/0.2762, allocations: 184.2 kB / 1.231 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.2762, allocations: 176.3 kB / 1.231 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.666e-05/0.2763, allocations: 180.2 kB / 1.231 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.544e-05/0.2764, allocations: 180.3 kB / 1.231 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.2765, allocations: 323.7 kB / 1.232 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.2766, allocations: 202.2 kB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.154e-05/0.2767, allocations: 188.2 kB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.2769, allocations: 105 kB / 1.232 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.2769, allocations: 180.2 kB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.277, allocations: 109 kB / 1.232 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001869/0.2772, allocations: 217.9 kB / 1.233 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2772, allocations: 0 / 1.233 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003021/0.2775, allocations: 63.94 kB / 1.233 GB, free: 0.9648 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.000578/0.2781, allocations: 0.9139 MB / 1.234 GB, free: 24 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.2783, allocations: 104 kB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.2783, allocations: 448 / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.2783, allocations: 3.938 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.2787, allocations: 468.2 kB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.2809, allocations: 2.441 MB / 1.236 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.2812, allocations: 0.743 MB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.285e-05/0.2813, allocations: 4 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.2813, allocations: 31.42 kB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of SimCode: time 1.814e-06/0.2813, allocations: 0 / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3127/0.594, allocations: 4.854 MB / 1.242 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.721/8.315, allocations: 5.953 kB / 1.242 GB, free: 7.367 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches