Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.000849/0.000849, 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.0008657/0.0008657, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8968/0.8968, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.713/1.713, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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_med,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.813e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001727/0.001745, allocations: 1.425 MB / 0.9823 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.003673, allocations: 2.4 MB / 0.9847 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.003701, allocations: 0 / 0.9847 GB, free: 14.78 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.004802, allocations: 0.5553 MB / 0.9852 GB, free: 14.22 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.004845, allocations: 23.84 kB / 0.9852 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 7.584e-06/0.004853, allocations: 0 / 0.9852 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.005043, allocations: 166.8 kB / 0.9854 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.005092, allocations: 8.594 kB / 0.9854 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/0.005174, allocations: 91.7 kB / 0.9855 GB, free: 13.93 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.005275, allocations: 59.83 kB / 0.9855 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.005288, allocations: 4 kB / 0.9855 GB, free: 13.87 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007005/0.005988, allocations: 411.3 kB / 0.9859 GB, free: 13.47 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.006037, allocations: 31.84 kB / 0.986 GB, free: 13.44 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.006103, allocations: 63.8 kB / 0.986 GB, free: 13.38 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.006506, allocations: 450.2 kB / 0.9865 GB, free: 12.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006508, allocations: 0 / 0.9865 GB, free: 12.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006509, allocations: 0 / 0.9865 GB, free: 12.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.006514, allocations: 0 / 0.9865 GB, free: 12.93 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.0004937/0.007007, allocations: 492.7 kB / 0.9869 GB, free: 12.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.007043, allocations: 12.03 kB / 0.9869 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.007077, allocations: 106 kB / 0.987 GB, free: 12.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.007171, allocations: 104 kB / 0.9871 GB, free: 12.19 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.007322, allocations: 251.8 kB / 0.9874 GB, free: 11.92 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.007357, allocations: 154.9 kB / 0.9875 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.007395, allocations: 154.9 kB / 0.9877 GB, free: 11.62 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.937e-05/0.007445, allocations: 105.5 kB / 0.9878 GB, free: 11.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.007464, allocations: 75.47 kB / 0.9878 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.0075, allocations: 162.9 kB / 0.988 GB, free: 11.27 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/0.007535, allocations: 158.7 kB / 0.9881 GB, free: 11.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.463e-05/0.007569, allocations: 150.6 kB / 0.9883 GB, free: 10.97 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.007821, allocations: 0.5007 MB / 0.9888 GB, free: 10.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.976e-05/0.007881, allocations: 173.1 kB / 0.9889 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.007904, allocations: 84.14 kB / 0.989 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.007923, allocations: 79.27 kB / 0.9891 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.007951, allocations: 105.8 kB / 0.9892 GB, free: 9.969 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.007952, allocations: 0 / 0.9892 GB, free: 9.969 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 0.0001033/0.008055, allocations: 53.52 kB / 0.9893 GB, free: 9.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.008099, allocations: 138.6 kB / 0.9894 GB, free: 9.762 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.008387, allocations: 433.3 kB / 0.9898 GB, free: 9.324 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.008397, allocations: 25.7 kB / 0.9898 GB, free: 9.293 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.008464, allocations: 136.6 kB / 0.99 GB, free: 9.156 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.008466, allocations: 0 / 0.99 GB, free: 9.156 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.008531, allocations: 89.66 kB / 0.99 GB, free: 9.062 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.008621, allocations: 338.8 kB / 0.9904 GB, free: 8.723 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.008703, allocations: 100.6 kB / 0.9905 GB, free: 8.621 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.008814, allocations: 165.9 kB / 0.9906 GB, free: 8.438 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.00902, allocations: 309.6 kB / 0.9909 GB, free: 8.113 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.009024, allocations: 4 kB / 0.9909 GB, free: 8.109 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003245/0.009349, allocations: 329.1 kB / 0.9912 GB, free: 7.781 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.009361, allocations: 4 kB / 0.9912 GB, free: 7.777 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.009372, allocations: 4 kB / 0.9912 GB, free: 7.773 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.009385, allocations: 0 / 0.9912 GB, free: 7.773 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-06/0.009389, allocations: 15.86 kB / 0.9913 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.009393, allocations: 0 / 0.9913 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.768e-05/0.009481, allocations: 47.52 kB / 0.9913 GB, free: 7.711 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.009491, allocations: 4 kB / 0.9913 GB, free: 7.707 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.0001576/0.009648, allocations: 237.1 kB / 0.9915 GB, free: 7.465 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.009709, allocations: 133 kB / 0.9917 GB, free: 7.328 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.009749, allocations: 114.9 kB / 0.9918 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/0.009798, allocations: 188.2 kB / 0.9919 GB, free: 7.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.362e-05/0.009852, allocations: 192.2 kB / 0.9921 GB, free: 6.824 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.916e-05/0.009901, allocations: 176.3 kB / 0.9923 GB, free: 6.645 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.0101, allocations: 448.2 kB / 0.9927 GB, free: 6.156 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002279/0.01033, allocations: 109 kB / 0.9928 GB, free: 6.043 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.01036, allocations: 101 kB / 0.9929 GB, free: 5.938 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-05/0.01041, allocations: 180.2 kB / 0.9931 GB, free: 5.754 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.01046, allocations: 180.3 kB / 0.9933 GB, free: 5.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.715e-05/0.0105, allocations: 184.2 kB / 0.9934 GB, free: 5.383 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.607e-05/0.01055, allocations: 188.2 kB / 0.9936 GB, free: 5.191 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.01066, allocations: 323.6 kB / 0.9939 GB, free: 4.852 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.01071, allocations: 128.8 kB / 0.9941 GB, free: 4.719 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.399e-05/0.01077, allocations: 184.2 kB / 0.9942 GB, free: 4.531 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.01085, allocations: 101 kB / 0.9943 GB, free: 4.426 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.0109, allocations: 184.2 kB / 0.9945 GB, free: 4.238 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.01093, allocations: 112.9 kB / 0.9946 GB, free: 4.121 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001763/0.01111, allocations: 271.1 kB / 0.9949 GB, free: 3.859 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01111, allocations: 0 / 0.9949 GB, free: 3.859 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002602/0.01137, allocations: 87.86 kB / 0.995 GB, free: 3.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.0005314/0.0119, allocations: 0.9644 MB / 0.9959 GB, free: 2.785 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001654/0.01207, allocations: 123.8 kB / 0.996 GB, free: 2.664 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.01207, allocations: 0 / 0.996 GB, free: 2.664 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.01207, allocations: 0 / 0.996 GB, free: 2.664 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.01238, allocations: 473.1 kB / 0.9965 GB, free: 2.199 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.01452, allocations: 2.95 MB / 0.9993 GB, free: 15.13 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.01463, allocations: 172.6 kB / 0.9995 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.171e-05/0.01464, allocations: 0 / 0.9995 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.0147, allocations: 56.47 kB / 0.9996 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of SimCode: time 7.41e-07/0.0147, allocations: 192 / 0.9996 GB, free: 14.89 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.03445, allocations: 7.198 MB / 1.007 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.632/6.666, allocations: 6.562 kB / 1.007 GB, free: 7.855 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.649115707725286]