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.001652/0.001652, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001755/0.001755, allocations: 197.1 kB / 16.26 MB, free: 6.629 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.482/2.482, allocations: 469.8 MB / 0.7421 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 67.56 kB / 0.9082 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2313, allocations: 159.2 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002238/0.2335, allocations: 1.475 MB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002778/0.2363, allocations: 2.639 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.2363, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.2375, allocations: 0.5581 MB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.2376, allocations: 19.84 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.2376, allocations: 0 / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.2378, allocations: 155 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.2379, allocations: 40.39 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.2379, allocations: 55.75 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.238, allocations: 79.58 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2381, allocations: 4 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008258/0.2389, allocations: 491.2 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.2389, allocations: 35.78 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.111e-05/0.239, allocations: 103.3 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.2395, allocations: 394.3 kB / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2395, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2395, allocations: 0 / 1.069 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2396, allocations: 0 / 1.069 GB, free: 8.527 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.0006576/0.2402, allocations: 0.5529 MB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.2403, allocations: 8.031 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.2403, allocations: 106 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.2405, allocations: 103.9 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.2407, allocations: 306.3 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.2408, allocations: 154.9 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.543e-05/0.2408, allocations: 166.9 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.961e-05/0.2409, allocations: 105.5 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.2409, allocations: 79.22 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.241, allocations: 150.6 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/0.241, allocations: 150.6 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.682e-05/0.2411, allocations: 154.6 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.2415, allocations: 0.5328 MB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.522e-05/0.2415, allocations: 169.1 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.2416, allocations: 80.14 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.2416, allocations: 79.28 kB / 1.072 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.2417, allocations: 113.8 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.2417, allocations: 0 / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001548/0.2418, allocations: 61.28 kB / 1.072 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.2419, allocations: 126.7 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.2423, allocations: 429.2 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2423, allocations: 33.64 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.2424, allocations: 140.4 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.2424, allocations: 0 / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.2425, allocations: 93.67 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.2426, allocations: 338.8 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.2427, allocations: 92.52 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.2429, allocations: 169.3 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.2432, allocations: 301.6 kB / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2432, allocations: 0 / 1.074 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004579/0.2437, allocations: 329 kB / 1.074 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2437, allocations: 7.938 kB / 1.074 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2437, allocations: 4 kB / 1.074 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.2437, allocations: 0 / 1.074 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-06/0.2437, allocations: 8.156 kB / 1.074 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2437, allocations: 4 kB / 1.074 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2438, allocations: 51.28 kB / 1.074 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2439, allocations: 4 kB / 1.074 GB, free: 3.121 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.0001792/0.244, allocations: 243.1 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.2441, allocations: 132.6 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.2442, allocations: 111 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.348e-05/0.2443, allocations: 180.3 kB / 1.075 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.901e-05/0.2443, allocations: 192.1 kB / 1.075 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.548e-05/0.2444, allocations: 184.3 kB / 1.075 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.2447, allocations: 473.1 kB / 1.076 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.725e-05/0.2447, allocations: 101 kB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.2448, allocations: 109.2 kB / 1.076 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.987e-05/0.2449, allocations: 192.2 kB / 1.076 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.2449, allocations: 180.3 kB / 1.076 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-05/0.245, allocations: 184.2 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.219e-05/0.2451, allocations: 176.3 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.2452, allocations: 331.4 kB / 1.077 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.797e-05/0.2453, allocations: 197.8 kB / 1.077 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.2454, allocations: 188.1 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.2455, allocations: 101 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.2456, allocations: 184.2 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.2457, allocations: 109 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002533/0.2459, allocations: 279.1 kB / 1.078 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2459, allocations: 3.938 kB / 1.078 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002974/0.2462, allocations: 76 kB / 1.078 GB, free: 15.06 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.0005587/0.2468, allocations: 0.9533 MB / 1.079 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.247, allocations: 163.9 kB / 1.079 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.247, allocations: 0 / 1.079 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.247, allocations: 0 / 1.079 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.2474, allocations: 461.1 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.2501, allocations: 2.948 MB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.2505, allocations: 0.7743 MB / 1.083 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.876e-06/0.2505, allocations: 4 kB / 1.083 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.2506, allocations: 51.42 kB / 1.083 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.2506, allocations: 0 / 1.083 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.534/1.784, allocations: 6.132 MB / 1.089 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/1.785, allocations: 222.4 kB / 1.09 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/4.135, allocations: 4 kB / 1.09 GB, free: 3.332 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