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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00079/0.00079, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008186/0.0008186, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.872/0.872, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.794/1.794, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.451e-05, allocations: 6.281 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001598/0.001612, allocations: 1.396 MB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.003087, allocations: 1.757 MB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.003112, allocations: 3.938 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.003828, allocations: 361.8 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.003863, allocations: 19.84 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.104e-06/0.00387, allocations: 4 kB / 1.003 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.004053, allocations: 135 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.004095, allocations: 9.688 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.004158, allocations: 55.88 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.004248, allocations: 55.83 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.004261, allocations: 0 / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002509/0.004512, allocations: 175.8 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.004554, allocations: 35.84 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.004602, allocations: 43.92 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.004894, allocations: 306.8 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004896, allocations: 0 / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004897, allocations: 0 / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004901, allocations: 0 / 1.004 GB, free: 9.148 MB / 0.9636 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.0004697/0.005371, allocations: 421.2 kB / 1.004 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.005408, allocations: 8.75 kB / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.005449, allocations: 110 kB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.669e-05/0.005545, allocations: 100.1 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.005693, allocations: 232.4 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.005739, allocations: 154.9 kB / 1.005 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.005779, allocations: 154.9 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.324e-05/0.005832, allocations: 105.5 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.005852, allocations: 79.41 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.005886, allocations: 154.5 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.00592, allocations: 154.6 kB / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.005957, allocations: 150.6 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.00619, allocations: 484.8 kB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.969e-05/0.006249, allocations: 165.1 kB / 1.006 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.006273, allocations: 88.08 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.006293, allocations: 79.28 kB / 1.006 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.006324, allocations: 105.8 kB / 1.006 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.62e-07/0.006324, allocations: 0 / 1.006 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 9.895e-05/0.006423, allocations: 49.55 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.006466, allocations: 138.6 kB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.006684, allocations: 321.6 kB / 1.007 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.006694, allocations: 29.7 kB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.006748, allocations: 120.5 kB / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-06/0.00675, allocations: 4 kB / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.006798, allocations: 61.62 kB / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.006881, allocations: 334.8 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.006937, allocations: 59.97 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.007018, allocations: 118 kB / 1.008 GB, free: 5.035 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.007173, allocations: 217.8 kB / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007175, allocations: 0 / 1.008 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000261/0.007436, allocations: 229.4 kB / 1.008 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.007449, allocations: 8 kB / 1.008 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.007457, allocations: 3.938 kB / 1.008 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.007469, allocations: 4 kB / 1.008 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.00747, allocations: 0 / 1.008 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.007477, allocations: 7.984 kB / 1.008 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.007548, allocations: 31.95 kB / 1.008 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.007556, allocations: 4 kB / 1.008 GB, free: 4.512 MB / 0.9636 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.0001216/0.007678, allocations: 225 kB / 1.008 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.007723, allocations: 120.8 kB / 1.008 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.007764, allocations: 125.5 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/0.007802, allocations: 180.3 kB / 1.009 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-05/0.007845, allocations: 184.2 kB / 1.009 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-05/0.007884, allocations: 184.2 kB / 1.009 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.008047, allocations: 416.3 kB / 1.01 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/0.00807, allocations: 108.9 kB / 1.01 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.008093, allocations: 105 kB / 1.01 GB, free: 2.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.65e-05/0.00813, allocations: 176.3 kB / 1.01 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.008172, allocations: 192.1 kB / 1.01 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-05/0.008211, allocations: 180.3 kB / 1.01 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.861e-05/0.008249, allocations: 180.4 kB / 1.01 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.391e-05/0.008343, allocations: 319.7 kB / 1.011 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.008394, allocations: 128.8 kB / 1.011 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.008445, allocations: 184.2 kB / 1.011 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.008513, allocations: 108.9 kB / 1.011 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.008571, allocations: 180.2 kB / 1.011 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.008593, allocations: 113 kB / 1.011 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001242/0.008717, allocations: 209.2 kB / 1.012 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008717, allocations: 3.938 kB / 1.012 GB, free: 0.7695 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002195/0.008937, allocations: 67.92 kB / 1.012 GB, free: 0.7031 MB / 0.9636 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.000431/0.009368, allocations: 0.9282 MB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.009487, allocations: 83.83 kB / 1.013 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009488, allocations: 0 / 1.013 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.009489, allocations: 4 kB / 1.013 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.009743, allocations: 460.1 kB / 1.013 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.01132, allocations: 2.456 MB / 1.016 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.01139, allocations: 131.3 kB / 1.016 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.117e-06/0.0114, allocations: 4 kB / 1.016 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.01144, allocations: 36.48 kB / 1.016 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of SimCode: time 4.51e-07/0.01144, allocations: 0 / 1.016 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.0291, allocations: 5.573 MB / 1.021 GB, free: 7.02 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.631/6.66, allocations: 3.938 kB / 1.021 GB, free: 7.016 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.672656206414104]