Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_latest_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.006821/0.00682, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001515/0.001514, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.91 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3394, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002964/0.3424, allocations: 1.401 MB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3449, allocations: 1.932 MB / 1.211 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.345, allocations: 3.938 kB / 1.211 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.3463, allocations: 388.1 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.3464, allocations: 19.91 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.789e-06/0.3464, allocations: 0 / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.3466, allocations: 127.1 kB / 1.211 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.284e-05/0.3467, allocations: 25.48 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.3468, allocations: 43.84 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3469, allocations: 63.64 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3469, allocations: 4 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005388/0.3475, allocations: 179.9 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.3476, allocations: 31.84 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.286e-05/0.3476, allocations: 75.61 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.3482, allocations: 291.1 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3482, allocations: 0 / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3482, allocations: 0 / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3482, allocations: 0 / 1.212 GB, free: 5.543 MB / 0.9669 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.0007269/0.3489, allocations: 494.5 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.349, allocations: 12.56 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.349, allocations: 110 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.3492, allocations: 100 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3494, allocations: 291.3 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.3495, allocations: 158.9 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.3496, allocations: 150.9 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.746e-05/0.3496, allocations: 104.9 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.3497, allocations: 79.28 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.3497, allocations: 158.5 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.3498, allocations: 150.6 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/0.3498, allocations: 154.6 kB / 1.214 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.3502, allocations: 0.5016 MB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.3502, allocations: 173.1 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.3503, allocations: 84.12 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.3503, allocations: 79.22 kB / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.3504, allocations: 105.8 kB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3504, allocations: 0 / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001799/0.3506, allocations: 53.45 kB / 1.215 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.3506, allocations: 126.7 kB / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.3509, allocations: 322.3 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3509, allocations: 29.7 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.351, allocations: 108.4 kB / 1.215 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.351, allocations: 4 kB / 1.215 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.3511, allocations: 65.67 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3512, allocations: 338.8 kB / 1.215 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.3513, allocations: 63.95 kB / 1.216 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.3514, allocations: 121.9 kB / 1.216 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.3517, allocations: 209.8 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3517, allocations: 3.984 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000413/0.3521, allocations: 233.2 kB / 1.216 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3521, allocations: 4 kB / 1.216 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.3521, allocations: 4 kB / 1.216 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3521, allocations: 0 / 1.216 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-06/0.3521, allocations: 7.938 kB / 1.216 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3522, allocations: 0 / 1.216 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.3523, allocations: 31.59 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3523, allocations: 7.938 kB / 1.216 GB, free: 0.707 MB / 0.9669 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.0002242/0.3525, allocations: 234.9 kB / 1.216 GB, free: 480 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.3526, allocations: 124.7 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.3527, allocations: 109.9 kB / 1.217 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.344e-05/0.3527, allocations: 176.3 kB / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.87e-05/0.3528, allocations: 184.2 kB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.74e-05/0.3528, allocations: 184.3 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.3531, allocations: 453.1 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-05/0.3531, allocations: 104.9 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.3532, allocations: 105 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.063e-05/0.3532, allocations: 184.2 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.213e-05/0.3533, allocations: 184.3 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-05/0.3534, allocations: 180.2 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.097e-05/0.3534, allocations: 180.3 kB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.3536, allocations: 319.6 kB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.062e-05/0.3537, allocations: 202 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.3538, allocations: 192.2 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3539, allocations: 113 kB / 1.219 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.3539, allocations: 176.3 kB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.354, allocations: 104.9 kB / 1.219 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001837/0.3542, allocations: 217.9 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3542, allocations: 0 / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003441/0.3545, allocations: 64 kB / 1.22 GB, free: 12.77 MB / 0.9825 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.0005773/0.3551, allocations: 0.9139 MB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.3553, allocations: 107.8 kB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3553, allocations: 0 / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.3553, allocations: 0 / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3557, allocations: 464.7 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.3581, allocations: 2.429 MB / 1.224 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3584, allocations: 0.747 MB / 1.224 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.697e-05/0.3584, allocations: 4.25 kB / 1.224 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.3585, allocations: 39.42 kB / 1.224 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.3585, allocations: 3.938 kB / 1.224 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.3812, allocations: 4.929 MB / 1.229 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.751, allocations: 7.797 kB / 1.229 GB, free: 3.102 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches