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.001388/0.001388, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001632/0.001632, allocations: 215.7 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.289/3.289, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 80.28 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3577, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002663/0.3603, allocations: 1.427 MB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.3632, allocations: 1.765 MB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.3632, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.3644, allocations: 350 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.588e-05/0.3645, allocations: 15.92 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.3645, allocations: 0 / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.3647, allocations: 123.2 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.228e-05/0.3648, allocations: 5.688 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.729e-05/0.3649, allocations: 55.78 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.365, allocations: 71.62 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.365, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.3654, allocations: 172 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.3655, allocations: 31.84 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.3656, allocations: 55.67 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.366, allocations: 295 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.366, allocations: 0 / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.366, allocations: 0 / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.366, allocations: 4 kB / 1.368 GB, free: 9.773 MB / 1.061 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.0007359/0.3668, allocations: 417.2 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3668, allocations: 8.031 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.566e-05/0.3669, allocations: 106 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.367, allocations: 100.1 kB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.3673, allocations: 233.1 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.3674, allocations: 158.9 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.3674, allocations: 158.8 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.066e-05/0.3675, allocations: 116.9 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.3676, allocations: 79.28 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.3676, allocations: 154.5 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.967e-05/0.3677, allocations: 154.6 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.3678, allocations: 154.6 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.3682, allocations: 476.9 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3683, allocations: 173.1 kB / 1.37 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.3683, allocations: 80.14 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.3683, allocations: 79.22 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.066e-05/0.3684, allocations: 109.8 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3684, allocations: 0 / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001869/0.3686, allocations: 57.5 kB / 1.37 GB, free: 6.871 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/0.3687, allocations: 130.7 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.369, allocations: 321.6 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3691, allocations: 25.7 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.3691, allocations: 124.4 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.3691, allocations: 0 / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-05/0.3692, allocations: 61.69 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3694, allocations: 330.8 kB / 1.371 GB, free: 5.844 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.379e-05/0.3695, allocations: 59.95 kB / 1.371 GB, free: 5.785 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.3697, allocations: 121.7 kB / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.3699, allocations: 209.8 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3699, allocations: 4 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000453/0.3704, allocations: 241.3 kB / 1.372 GB, free: 5.172 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3704, allocations: 4 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3704, allocations: 0 / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3704, allocations: 4 kB / 1.372 GB, free: 5.164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.737e-06/0.3704, allocations: 3.938 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.3704, allocations: 4 kB / 1.372 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.3705, allocations: 27.73 kB / 1.372 GB, free: 5.129 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3705, allocations: 7.984 kB / 1.372 GB, free: 5.121 MB / 1.061 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.0002411/0.3708, allocations: 222.4 kB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-05/0.3709, allocations: 132.7 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.58e-05/0.3709, allocations: 113.6 kB / 1.372 GB, free: 4.637 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.931e-05/0.371, allocations: 184.2 kB / 1.373 GB, free: 4.449 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.247e-05/0.3711, allocations: 180.2 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-05/0.3712, allocations: 180.3 kB / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.3715, allocations: 428.2 kB / 1.373 GB, free: 3.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.113e-05/0.3715, allocations: 104.9 kB / 1.373 GB, free: 3.504 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.3716, allocations: 105 kB / 1.373 GB, free: 3.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.331e-05/0.3717, allocations: 184.2 kB / 1.374 GB, free: 3.207 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.162e-05/0.3717, allocations: 188.2 kB / 1.374 GB, free: 3.016 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.959e-05/0.3718, allocations: 188.2 kB / 1.374 GB, free: 2.824 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.977e-05/0.3719, allocations: 176.3 kB / 1.374 GB, free: 2.645 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.3721, allocations: 319.7 kB / 1.374 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.3722, allocations: 124.8 kB / 1.375 GB, free: 2.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3723, allocations: 184.2 kB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.3724, allocations: 105 kB / 1.375 GB, free: 1.883 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.3725, allocations: 176.3 kB / 1.375 GB, free: 1.703 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.3726, allocations: 113.2 kB / 1.375 GB, free: 1.586 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002198/0.3728, allocations: 209.2 kB / 1.375 GB, free: 1.383 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3728, allocations: 0 / 1.375 GB, free: 1.383 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003881/0.3732, allocations: 75.86 kB / 1.375 GB, free: 1.309 MB / 1.061 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.0006779/0.3738, allocations: 0.914 MB / 1.376 GB, free: 376 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.374, allocations: 84.2 kB / 1.376 GB, free: 292 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.374, allocations: 4.062 kB / 1.376 GB, free: 288 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.374, allocations: 0 / 1.376 GB, free: 288 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.3745, allocations: 465.1 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.3772, allocations: 2.436 MB / 1.379 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.3773, allocations: 130.7 kB / 1.379 GB, free: 13.12 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.673e-05/0.3774, allocations: 3.984 kB / 1.379 GB, free: 13.12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.3774, allocations: 39.42 kB / 1.379 GB, free: 13.08 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/0.3774, allocations: 0 / 1.379 GB, free: 13.08 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.4113, allocations: 5.416 MB / 1.385 GB, free: 7.816 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.09, allocations: 13.77 kB / 1.385 GB, free: 7.805 MB / 1.076 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.960655574221164]