Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007762/0.0007762, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.000819/0.000819, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8834/0.8834, allocations: 177.1 MB / 202.8 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.704/1.704, allocations: 377.8 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9809 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.254e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001834/0.001856, allocations: 1.407 MB / 0.9823 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.003424, allocations: 1.752 MB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.00345, allocations: 0 / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007579/0.004208, allocations: 372.4 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.004248, allocations: 23.78 kB / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 3.296e-06/0.004252, allocations: 0 / 0.9844 GB, free: 15.02 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004424, allocations: 127.1 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.004463, allocations: 5.688 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.004529, allocations: 67.8 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.004619, allocations: 51.89 kB / 0.9846 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.004634, allocations: 4 kB / 0.9846 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.004888, allocations: 175.8 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.004927, allocations: 35.84 kB / 0.9848 GB, free: 14.56 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.004979, allocations: 51.86 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.005267, allocations: 298.8 kB / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005269, allocations: 0 / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00527, allocations: 0 / 0.9852 GB, free: 14.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.005274, allocations: 0 / 0.9852 GB, free: 14.21 MB / 0.948 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.0004487/0.005722, allocations: 421.2 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.005756, allocations: 8.031 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.005793, allocations: 114 kB / 0.9857 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.005882, allocations: 96.12 kB / 0.9858 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.006026, allocations: 240.3 kB / 0.986 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.006065, allocations: 154.9 kB / 0.9862 GB, free: 13.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.006107, allocations: 154.9 kB / 0.9863 GB, free: 12.99 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.601e-05/0.006153, allocations: 101.5 kB / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.00617, allocations: 75.47 kB / 0.9865 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.006206, allocations: 162.4 kB / 0.9866 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.00624, allocations: 154.6 kB / 0.9868 GB, free: 12.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.68e-05/0.006276, allocations: 154.5 kB / 0.9869 GB, free: 12.34 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.006509, allocations: 476.9 kB / 0.9874 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.641e-05/0.006566, allocations: 177.1 kB / 0.9875 GB, free: 11.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.006587, allocations: 80.14 kB / 0.9876 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.006605, allocations: 75.28 kB / 0.9877 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.006634, allocations: 109.8 kB / 0.9878 GB, free: 11.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.006635, allocations: 4 kB / 0.9878 GB, free: 11.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001023/0.006737, allocations: 49.5 kB / 0.9879 GB, free: 11.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.006779, allocations: 130.7 kB / 0.988 GB, free: 11.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.006999, allocations: 325.6 kB / 0.9883 GB, free: 10.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.007008, allocations: 25.7 kB / 0.9883 GB, free: 10.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.007057, allocations: 120.5 kB / 0.9884 GB, free: 10.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.00706, allocations: 4 kB / 0.9884 GB, free: 10.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.007103, allocations: 57.69 kB / 0.9885 GB, free: 10.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.007181, allocations: 334.8 kB / 0.9888 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.007236, allocations: 59.97 kB / 0.9889 GB, free: 10.24 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.994e-05/0.007316, allocations: 125.7 kB / 0.989 GB, free: 10.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.007465, allocations: 209.8 kB / 0.9892 GB, free: 9.871 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.007467, allocations: 4 kB / 0.9892 GB, free: 9.867 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002624/0.00773, allocations: 233.3 kB / 0.9894 GB, free: 9.633 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007741, allocations: 4 kB / 0.9894 GB, free: 9.629 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.007749, allocations: 7.938 kB / 0.9894 GB, free: 9.621 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.007761, allocations: 224 / 0.9894 GB, free: 9.621 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.007763, allocations: 8 kB / 0.9894 GB, free: 9.613 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.007768, allocations: 3.984 kB / 0.9894 GB, free: 9.609 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.058e-05/0.007839, allocations: 31.73 kB / 0.9895 GB, free: 9.578 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.007846, allocations: 4 kB / 0.9895 GB, free: 9.574 MB / 0.948 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.0001351/0.007981, allocations: 228 kB / 0.9897 GB, free: 9.344 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.008024, allocations: 124.8 kB / 0.9898 GB, free: 9.215 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.008058, allocations: 113.7 kB / 0.9899 GB, free: 9.098 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/0.008101, allocations: 188.2 kB / 0.9901 GB, free: 8.906 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-05/0.008143, allocations: 188.2 kB / 0.9903 GB, free: 8.715 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.574e-05/0.008179, allocations: 180.3 kB / 0.9904 GB, free: 8.531 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.008348, allocations: 420.2 kB / 0.9908 GB, free: 8.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.008371, allocations: 105 kB / 0.9909 GB, free: 7.961 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.008392, allocations: 104.9 kB / 0.991 GB, free: 7.852 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-05/0.008433, allocations: 180.2 kB / 0.9912 GB, free: 7.668 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.008475, allocations: 184.2 kB / 0.9914 GB, free: 7.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.703e-05/0.008512, allocations: 180.2 kB / 0.9916 GB, free: 7.297 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.746e-05/0.00855, allocations: 180.5 kB / 0.9917 GB, free: 7.113 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.999e-05/0.00864, allocations: 327.6 kB / 0.992 GB, free: 6.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.008681, allocations: 120.8 kB / 0.9922 GB, free: 6.645 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.008732, allocations: 184.2 kB / 0.9923 GB, free: 6.457 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.008799, allocations: 113 kB / 0.9924 GB, free: 6.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.008844, allocations: 184.2 kB / 0.9926 GB, free: 6.152 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.008865, allocations: 105 kB / 0.9927 GB, free: 6.043 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000125/0.00899, allocations: 217.2 kB / 0.9929 GB, free: 5.832 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00899, allocations: 0 / 0.9929 GB, free: 5.832 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002213/0.009211, allocations: 59.94 kB / 0.993 GB, free: 5.773 MB / 0.948 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.0004075/0.009619, allocations: 0.9262 MB / 0.9939 GB, free: 4.816 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.009738, allocations: 87.83 kB / 0.994 GB, free: 4.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009739, allocations: 0 / 0.994 GB, free: 4.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.00974, allocations: 0 / 0.994 GB, free: 4.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.01001, allocations: 467 kB / 0.9944 GB, free: 4.273 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.01158, allocations: 2.452 MB / 0.9968 GB, free: 1.691 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.202e-05/0.01165, allocations: 130.9 kB / 0.9969 GB, free: 1.547 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.758e-06/0.01166, allocations: 0 / 0.9969 GB, free: 1.547 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.0117, allocations: 36.48 kB / 0.997 GB, free: 1.512 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.0117, allocations: 0 / 0.997 GB, free: 1.512 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.02832, allocations: 5.583 MB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/6.762, allocations: 7.109 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.777744894847274]