Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00176/0.00176, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002151/0.002151, allocations: 216 kB / 22.24 MB, free: 4.855 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.821/2.821, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.002122/0.002122, allocations: 65.72 kB / 1.117 GB, free: 41.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3002, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002657/0.3028, allocations: 1.427 MB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003407/0.3062, allocations: 2.4 MB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.084e-05/0.3062, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.3077, allocations: 0.542 MB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.558e-05/0.3078, allocations: 19.84 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.148e-06/0.3078, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.3081, allocations: 158.9 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.728e-05/0.3081, allocations: 16.58 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.978e-05/0.3082, allocations: 59.73 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3084, allocations: 79.58 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3084, allocations: 4 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008868/0.3093, allocations: 407.5 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.3093, allocations: 39.77 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3094, allocations: 75.55 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006371/0.3101, allocations: 438 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3101, allocations: 4 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3101, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3101, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 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.0007972/0.3109, allocations: 0.4906 MB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3109, allocations: 11.97 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/0.311, allocations: 106 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.3111, allocations: 100.1 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.3114, allocations: 252.5 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.3115, allocations: 154.9 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.3116, allocations: 162.9 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.438e-05/0.3116, allocations: 101.5 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.3117, allocations: 87.16 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.3118, allocations: 150.6 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/0.3118, allocations: 150.6 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.081e-05/0.3119, allocations: 154.6 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.3123, allocations: 0.5046 MB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.3124, allocations: 169.1 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.3125, allocations: 84.08 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.3125, allocations: 75.28 kB / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/0.3126, allocations: 109.8 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3126, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001795/0.3128, allocations: 61.45 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.3128, allocations: 130.7 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.3133, allocations: 429.3 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3133, allocations: 33.64 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3135, allocations: 136.6 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.3135, allocations: 0 / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.3136, allocations: 89.67 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3137, allocations: 338.8 kB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3139, allocations: 100.6 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.3141, allocations: 161.9 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.3144, allocations: 309.6 kB / 1.293 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3144, allocations: 0 / 1.293 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005641/0.315, allocations: 333 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.315, allocations: 8.156 kB / 1.293 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.315, allocations: 11.98 kB / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.315, allocations: 0 / 1.293 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-06/0.315, allocations: 4 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.315, allocations: 0 / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.3152, allocations: 43.52 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3152, allocations: 11.88 kB / 1.293 GB, free: 1.586 MB / 0.9825 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.0002746/0.3155, allocations: 242.4 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.801e-05/0.3156, allocations: 124.8 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.526e-05/0.3156, allocations: 122.8 kB / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.234e-05/0.3157, allocations: 180.3 kB / 1.294 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.649e-05/0.3158, allocations: 180.3 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-05/0.3159, allocations: 180.2 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.3162, allocations: 444.2 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.815e-05/0.3163, allocations: 104.9 kB / 1.294 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.3163, allocations: 105 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.584e-05/0.3164, allocations: 184.2 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.559e-05/0.3165, allocations: 184.2 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.267e-05/0.3166, allocations: 180.3 kB / 1.295 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.68e-05/0.3167, allocations: 180.2 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.3169, allocations: 327.8 kB / 1.296 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.317, allocations: 132.8 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.3171, allocations: 188.2 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.3172, allocations: 108.9 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.3173, allocations: 180.2 kB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.3174, allocations: 108.9 kB / 1.296 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003135/0.3177, allocations: 279.1 kB / 1.296 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3177, allocations: 0 / 1.296 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003961/0.3181, allocations: 79.94 kB / 1.297 GB, free: 13.66 MB / 0.9981 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.0007481/0.3188, allocations: 0.9714 MB / 1.298 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.3191, allocations: 124 kB / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.3191, allocations: 0 / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.3191, allocations: 4 kB / 1.298 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006776/0.3197, allocations: 461.1 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.3231, allocations: 2.926 MB / 1.301 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.3233, allocations: 168.4 kB / 1.301 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.612e-05/0.3233, allocations: 7.938 kB / 1.301 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.3234, allocations: 55.41 kB / 1.301 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of SimCode: time 6.62e-07/0.3234, allocations: 0 / 1.301 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/0.3586, allocations: 7.035 MB / 1.308 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.93, allocations: 7.797 kB / 1.308 GB, free: 1.918 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.607496215961874]