Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_low,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_10_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.001212/0.001212, 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.001441/0.001441, allocations: 193.5 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.214/1.214, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.456/2.456, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5401/0.5416, allocations: 151.6 MB / 1.017 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002451/0.5441, allocations: 1.387 MB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.5464, allocations: 1.941 MB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.5464, allocations: 4 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.5475, allocations: 385.9 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.5475, allocations: 15.91 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.867e-06/0.5475, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.5477, allocations: 127.1 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.482e-05/0.5478, allocations: 25.48 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.5479, allocations: 39.86 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.548, allocations: 59.66 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.548, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004864/0.5485, allocations: 175.9 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.5485, allocations: 35.84 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.5486, allocations: 75.59 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.5491, allocations: 289.3 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5491, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5491, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5491, allocations: 0 / 1.022 GB, free: 14.08 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.0006407/0.5498, allocations: 498.5 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.5498, allocations: 8.031 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.5499, allocations: 114 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.55, allocations: 99.94 kB / 1.023 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.5502, allocations: 291.3 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.5503, allocations: 162.9 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.5503, allocations: 150.9 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.32e-05/0.5504, allocations: 112.9 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.5504, allocations: 79.28 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.5505, allocations: 150.6 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/0.5505, allocations: 150.6 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.5506, allocations: 150.6 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.551, allocations: 0.5056 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.245e-05/0.5511, allocations: 169.1 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.5511, allocations: 84.14 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.5511, allocations: 79.22 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.5512, allocations: 109.8 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.5512, allocations: 4 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001591/0.5513, allocations: 49.41 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5514, allocations: 130.6 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.5517, allocations: 322.4 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.5517, allocations: 25.7 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.5518, allocations: 116.4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.5518, allocations: 0 / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.5519, allocations: 61.69 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.552, allocations: 338.8 kB / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.753e-05/0.5521, allocations: 63.95 kB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.5522, allocations: 117.7 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.5524, allocations: 213.8 kB / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.5524, allocations: 0 / 1.026 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003881/0.5528, allocations: 233.2 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.5528, allocations: 10.19 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5528, allocations: 0 / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5529, allocations: 7.984 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.5529, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5529, allocations: 7.938 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.553, allocations: 27.53 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.553, allocations: 4 kB / 1.026 GB, free: 9.238 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.0001784/0.5532, allocations: 229.3 kB / 1.027 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.5533, allocations: 120.7 kB / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.5533, allocations: 117.7 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.357e-05/0.5534, allocations: 180.2 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-05/0.5534, allocations: 184.2 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.666e-05/0.5535, allocations: 180.3 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.5537, allocations: 449.2 kB / 1.028 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-05/0.5538, allocations: 112.9 kB / 1.028 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.5538, allocations: 105 kB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.312e-05/0.5539, allocations: 184.2 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.554, allocations: 180.3 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.747e-05/0.554, allocations: 180.2 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.034e-05/0.5541, allocations: 184.2 kB / 1.029 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.5542, allocations: 319.5 kB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.5543, allocations: 197.8 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.5544, allocations: 180.3 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.5545, allocations: 108.9 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.5546, allocations: 188.2 kB / 1.03 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.5546, allocations: 104.9 kB / 1.03 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001777/0.5548, allocations: 213.9 kB / 1.03 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5548, allocations: 0 / 1.03 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003232/0.5551, allocations: 67.98 kB / 1.03 GB, free: 5.32 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.0005156/0.5557, allocations: 0.9142 MB / 1.031 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.5558, allocations: 103.9 kB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5558, allocations: 0 / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/0.5559, allocations: 3.938 kB / 1.031 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.5562, allocations: 469.2 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.5584, allocations: 2.433 MB / 1.034 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.5586, allocations: 0.7391 MB / 1.034 GB, free: 496 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.223e-05/0.5587, allocations: 4 kB / 1.034 GB, free: 492 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.5587, allocations: 39.42 kB / 1.034 GB, free: 452 kB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5587, allocations: 0 / 1.034 GB, free: 452 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.989/2.548, allocations: 4.814 MB / 1.039 GB, free: 11.76 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.451/11, allocations: 6.016 kB / 1.039 GB, free: 11.75 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches