Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_9_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.006984/0.006984, allocations: 101 kB / 15.73 MB, free: 6.035 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.001663/0.001663, allocations: 193.4 kB / 16.67 MB, free: 5.973 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 58.19 kB / 0.9504 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2438, allocations: 140.4 MB / 1.087 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002288/0.2461, allocations: 1.388 MB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2482, allocations: 1.936 MB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.2482, allocations: 0 / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009216/0.2492, allocations: 385.9 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.317e-05/0.2492, allocations: 19.91 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.066e-06/0.2492, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.2494, allocations: 131.1 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.2495, allocations: 17.5 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.2495, allocations: 43.73 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.2496, allocations: 63.7 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2497, allocations: 4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.2501, allocations: 183.9 kB / 1.092 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.2502, allocations: 31.84 kB / 1.092 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.535e-05/0.2502, allocations: 79.59 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.2507, allocations: 278.6 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2507, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2507, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2507, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 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.0006104/0.2513, allocations: 498.4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2513, allocations: 12.03 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.2514, allocations: 106 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.2515, allocations: 104 kB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.2517, allocations: 283.4 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.2518, allocations: 154.9 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.2518, allocations: 154.9 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.841e-05/0.2519, allocations: 112.9 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2519, allocations: 75.28 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.252, allocations: 154.6 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.252, allocations: 150.6 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.496e-05/0.2521, allocations: 154.6 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.2525, allocations: 0.5055 MB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.591e-05/0.2526, allocations: 173.1 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.2526, allocations: 84.14 kB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.2527, allocations: 83.2 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.066e-05/0.2527, allocations: 109.8 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.2527, allocations: 0 / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0002295/0.253, allocations: 49.45 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.253, allocations: 126.7 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.2533, allocations: 322.3 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2533, allocations: 25.7 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.2534, allocations: 120.4 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.2534, allocations: 0 / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/0.2535, allocations: 61.69 kB / 1.095 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2536, allocations: 334.8 kB / 1.096 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.2537, allocations: 59.95 kB / 1.096 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.2538, allocations: 118 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.254, allocations: 213.8 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.254, allocations: 4 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003898/0.2544, allocations: 237.1 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.2545, allocations: 7.938 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2545, allocations: 4 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2545, allocations: 0 / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-06/0.2545, allocations: 7.938 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2545, allocations: 0 / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.2546, allocations: 35.56 kB / 1.096 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.2546, allocations: 8.203 kB / 1.096 GB, free: 8.703 MB / 0.8575 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.000169/0.2548, allocations: 221.1 kB / 1.097 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.2549, allocations: 132.6 kB / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.255, allocations: 109.9 kB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-05/0.2551, allocations: 180.3 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.246e-05/0.2552, allocations: 184.2 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-05/0.2552, allocations: 184.2 kB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.2555, allocations: 453.1 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/0.2556, allocations: 104.9 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.2556, allocations: 105 kB / 1.098 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.893e-05/0.2557, allocations: 180.2 kB / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.2557, allocations: 184.3 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.359e-05/0.2558, allocations: 184.2 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-05/0.2559, allocations: 176.3 kB / 1.099 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.256, allocations: 315.6 kB / 1.099 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.2561, allocations: 205.8 kB / 1.099 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.2562, allocations: 184.2 kB / 1.099 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.2563, allocations: 101 kB / 1.099 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.2564, allocations: 180.3 kB / 1.1 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.2564, allocations: 105.2 kB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001917/0.2566, allocations: 217.9 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2566, allocations: 0 / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003372/0.2569, allocations: 60 kB / 1.1 GB, free: 4.797 MB / 0.8575 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.0005379/0.2575, allocations: 0.9256 MB / 1.101 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.2577, allocations: 103.8 kB / 1.101 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2577, allocations: 4 kB / 1.101 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.2577, allocations: 3.938 kB / 1.101 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.258, allocations: 464.7 kB / 1.101 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.2602, allocations: 2.434 MB / 1.104 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2605, allocations: 0.7431 MB / 1.104 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.2605, allocations: 7.906 kB / 1.105 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.2605, allocations: 39.36 kB / 1.105 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.2606, allocations: 0 / 1.105 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/0.3882, allocations: 4.847 MB / 1.109 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.99, allocations: 7.594 kB / 1.109 GB, free: 11.2 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches