Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_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.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 128 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.001361/0.001361, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.89 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.5392, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002584/0.5418, allocations: 1.404 MB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003088/0.545, allocations: 2.666 MB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.545, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.5467, allocations: 0.5811 MB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.5468, allocations: 27.84 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.5468, allocations: 0 / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.547, allocations: 155 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.517e-05/0.5471, allocations: 44.36 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.448e-05/0.5471, allocations: 55.75 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.5473, allocations: 79.52 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.5473, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.5484, allocations: 467.3 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.5484, allocations: 35.78 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.975e-05/0.5485, allocations: 95.42 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006776/0.5492, allocations: 442.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.5492, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5492, allocations: 4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5493, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 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.0007306/0.55, allocations: 0.549 MB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.55, allocations: 11.97 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.5501, allocations: 110 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.5503, allocations: 95.94 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.5505, allocations: 302.3 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.5505, allocations: 158.9 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.5506, allocations: 154.9 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.53e-05/0.5507, allocations: 101.5 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.5507, allocations: 79.22 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/0.5507, allocations: 150.6 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/0.5508, allocations: 154.6 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.851e-05/0.5508, allocations: 158.5 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.5512, allocations: 0.5289 MB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.775e-05/0.5513, allocations: 169.1 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.5513, allocations: 84.19 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.5513, allocations: 79.28 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.5514, allocations: 113.8 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5514, allocations: 0 / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001766/0.5515, allocations: 65.25 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.5516, allocations: 126.7 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.552, allocations: 433.2 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.552, allocations: 25.7 kB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.5521, allocations: 144.4 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.5521, allocations: 0 / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.5522, allocations: 89.66 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5523, allocations: 338.8 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.5524, allocations: 100.5 kB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.5526, allocations: 165.2 kB / 1.028 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.5529, allocations: 301.6 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5529, allocations: 0 / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004678/0.5534, allocations: 332.9 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5534, allocations: 11.94 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5534, allocations: 0 / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.5534, allocations: 4.219 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.5534, allocations: 4 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.5534, allocations: 4 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.5536, allocations: 43.36 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.5536, allocations: 8 kB / 1.028 GB, free: 7.051 MB / 0.7794 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.0002068/0.5538, allocations: 241 kB / 1.029 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.5539, allocations: 128.5 kB / 1.029 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.5539, allocations: 115 kB / 1.029 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.231e-05/0.554, allocations: 188.2 kB / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.014e-05/0.554, allocations: 176.3 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.776e-05/0.5541, allocations: 180.2 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.5544, allocations: 473.2 kB / 1.03 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/0.5544, allocations: 101 kB / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.771e-05/0.5544, allocations: 112.9 kB / 1.03 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.281e-05/0.5545, allocations: 188.2 kB / 1.03 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.5545, allocations: 180.2 kB / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.761e-05/0.5546, allocations: 176.3 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.036e-05/0.5546, allocations: 184.2 kB / 1.031 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.5548, allocations: 327.5 kB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.5549, allocations: 205.9 kB / 1.031 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.5549, allocations: 180.2 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.5551, allocations: 112.9 kB / 1.031 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.5551, allocations: 184.3 kB / 1.032 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.5552, allocations: 105 kB / 1.032 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002388/0.5554, allocations: 279.1 kB / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5554, allocations: 3.938 kB / 1.032 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003554/0.5558, allocations: 84 kB / 1.032 GB, free: 2.988 MB / 0.7794 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.0005405/0.5563, allocations: 0.9758 MB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.5565, allocations: 159.9 kB / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5565, allocations: 0 / 1.033 GB, free: 1.832 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.5565, allocations: 4 kB / 1.033 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.5569, allocations: 469.2 kB / 1.034 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.5594, allocations: 2.917 MB / 1.036 GB, free: 14.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.5596, allocations: 0.7704 MB / 1.037 GB, free: 13.54 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.162e-05/0.5597, allocations: 3.984 kB / 1.037 GB, free: 13.54 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.5597, allocations: 51.42 kB / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of SimCode: time 4.1e-07/0.5597, allocations: 4 kB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.306/1.866, allocations: 6.389 MB / 1.043 GB, free: 7.223 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.75/9.616, allocations: 3.953 kB / 1.043 GB, free: 7.219 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches