Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.001418/0.001418, allocations: 108 kB / 15.6 MB, free: 132 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.001384/0.001384, allocations: 194 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.533/2.533, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.001701, allocations: 65.47 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2401, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002303/0.2425, allocations: 1.411 MB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002957/0.2454, allocations: 2.668 MB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.2455, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.2467, allocations: 0.5843 MB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.254e-05/0.2467, allocations: 19.84 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.2468, allocations: 4 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.247, allocations: 155 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.558e-05/0.247, allocations: 32.41 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.2471, allocations: 59.73 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2472, allocations: 87.45 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.2472, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009392/0.2482, allocations: 463.3 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.2483, allocations: 35.83 kB / 1.069 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.2484, allocations: 103.3 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.249, allocations: 438.2 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.249, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.249, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.249, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 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.000703/0.2497, allocations: 0.549 MB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.2497, allocations: 8.031 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.175e-05/0.2498, allocations: 106 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.25, allocations: 103.9 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.2502, allocations: 314.2 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/0.2503, allocations: 150.9 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.2504, allocations: 154.9 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.042e-05/0.2504, allocations: 105.5 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.2505, allocations: 79.22 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.2505, allocations: 158.6 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/0.2506, allocations: 150.6 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.2507, allocations: 154.6 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.2511, allocations: 0.5249 MB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.417e-05/0.2511, allocations: 177.1 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.2512, allocations: 84.08 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.2512, allocations: 79.28 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.2513, allocations: 109.8 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2513, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001505/0.2514, allocations: 57.34 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.2515, allocations: 130.7 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.2519, allocations: 437.1 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2519, allocations: 29.7 kB / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.252, allocations: 128.5 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.252, allocations: 0 / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.2521, allocations: 93.66 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2522, allocations: 338.8 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.2524, allocations: 100.5 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.2525, allocations: 165.3 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.2528, allocations: 305.6 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2528, allocations: 0 / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004772/0.2533, allocations: 325 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2533, allocations: 12.16 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.2534, allocations: 4 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2534, allocations: 0 / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.2534, allocations: 4 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2534, allocations: 12 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.2535, allocations: 47.28 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2535, allocations: 7.984 kB / 1.075 GB, free: 2.75 MB / 0.8262 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.0001786/0.2537, allocations: 237.1 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.2538, allocations: 128.6 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/0.2539, allocations: 122.9 kB / 1.075 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.225e-05/0.2539, allocations: 176.3 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.166e-05/0.254, allocations: 184.2 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-05/0.2541, allocations: 176.3 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.2544, allocations: 481.2 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.315e-05/0.2544, allocations: 104.9 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.2545, allocations: 105 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.272e-05/0.2546, allocations: 188.1 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/0.2546, allocations: 176.3 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.421e-05/0.2547, allocations: 176.5 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.864e-05/0.2548, allocations: 192.1 kB / 1.077 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.255, allocations: 331.4 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.2551, allocations: 197.8 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.725e-05/0.2552, allocations: 188.2 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.2553, allocations: 108.9 kB / 1.078 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.2554, allocations: 176.3 kB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.2554, allocations: 108.9 kB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002579/0.2557, allocations: 279.1 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2557, allocations: 3.938 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003211/0.256, allocations: 83.98 kB / 1.079 GB, free: 14.68 MB / 0.8419 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.0006031/0.2566, allocations: 0.9554 MB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.2568, allocations: 171.8 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2568, allocations: 0 / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.2569, allocations: 0 / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.2573, allocations: 469.6 kB / 1.08 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.2599, allocations: 2.906 MB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.2603, allocations: 0.7781 MB / 1.084 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.067e-05/0.2603, allocations: 8 kB / 1.084 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.2604, allocations: 51.42 kB / 1.084 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.2604, allocations: 0 / 1.084 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.15/1.41, allocations: 6.388 MB / 1.09 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.97, allocations: 7.312 kB / 1.09 GB, free: 2.922 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches