Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008256/0.0008256, 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.0008243/0.0008243, allocations: 165.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.8748/0.8748, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.175e-06/2.175e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/2.044e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002639/0.002659, allocations: 1.419 MB / 0.9518 GB, free: 2.117 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.004957, allocations: 1.749 MB / 0.9536 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.004991, allocations: 0 / 0.9536 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.006265, allocations: 359.7 kB / 0.9539 GB, free: 12 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.575e-05/0.006351, allocations: 27.91 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 5.04e-06/0.006356, allocations: 0 / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.006598, allocations: 131 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.00666, allocations: 9.672 kB / 0.9541 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.006763, allocations: 67.86 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.006893, allocations: 51.83 kB / 0.9542 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.006914, allocations: 4 kB / 0.9542 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.007349, allocations: 171.9 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.007402, allocations: 31.84 kB / 0.9544 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.007456, allocations: 47.86 kB / 0.9544 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.007779, allocations: 306.8 kB / 0.9547 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.007781, allocations: 3.938 kB / 0.9547 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.092e-06/0.007782, allocations: 4 kB / 0.9547 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.007787, allocations: 0 / 0.9547 GB, free: 15.16 MB / 0.9167 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.000509/0.008296, allocations: 417.2 kB / 0.9551 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.008335, allocations: 12.03 kB / 0.9551 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.008381, allocations: 106 kB / 0.9552 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.86e-05/0.00848, allocations: 92.12 kB / 0.9553 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.00864, allocations: 240.2 kB / 0.9555 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.008683, allocations: 154.9 kB / 0.9557 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.008725, allocations: 154.9 kB / 0.9558 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.184e-05/0.008776, allocations: 109.5 kB / 0.9559 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.008797, allocations: 75.47 kB / 0.956 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.008835, allocations: 154.5 kB / 0.9562 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.008874, allocations: 154.5 kB / 0.9563 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.008914, allocations: 154.5 kB / 0.9565 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.009183, allocations: 484.9 kB / 0.9569 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.362e-05/0.009247, allocations: 165.1 kB / 0.9571 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.00927, allocations: 80.14 kB / 0.9572 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.009291, allocations: 75.28 kB / 0.9572 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.009328, allocations: 113.8 kB / 0.9573 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.009329, allocations: 0 / 0.9573 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 0.0001134/0.009443, allocations: 61.42 kB / 0.9574 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.009488, allocations: 130.7 kB / 0.9575 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.009724, allocations: 321.6 kB / 0.9578 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.009737, allocations: 29.7 kB / 0.9579 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.009792, allocations: 112.6 kB / 0.958 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.009794, allocations: 0 / 0.958 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.009848, allocations: 61.69 kB / 0.958 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.00994, allocations: 330.8 kB / 0.9583 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.01, allocations: 63.95 kB / 0.9584 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.564e-05/0.01009, allocations: 129.5 kB / 0.9585 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.01025, allocations: 209.9 kB / 0.9587 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01025, allocations: 0 / 0.9587 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002866/0.01054, allocations: 233.3 kB / 0.9589 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.01056, allocations: 11.98 kB / 0.959 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.01057, allocations: 3.938 kB / 0.959 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.01058, allocations: 4 kB / 0.959 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.01058, allocations: 3.938 kB / 0.959 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.01059, allocations: 4 kB / 0.959 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.932e-05/0.01065, allocations: 23.73 kB / 0.959 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.01066, allocations: 4 kB / 0.959 GB, free: 10.54 MB / 0.9167 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.0001371/0.0108, allocations: 229.3 kB / 0.9592 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.01085, allocations: 124.7 kB / 0.9593 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.0109, allocations: 121.7 kB / 0.9594 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-05/0.01095, allocations: 184.3 kB / 0.9596 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.045e-05/0.011, allocations: 180.2 kB / 0.9598 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-05/0.01104, allocations: 176.3 kB / 0.96 GB, free: 9.488 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.01123, allocations: 424.2 kB / 0.9604 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/0.01126, allocations: 101 kB / 0.9605 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.01128, allocations: 112.9 kB / 0.9606 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.24e-05/0.01132, allocations: 188.2 kB / 0.9608 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.01138, allocations: 188.2 kB / 0.9609 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-05/0.01142, allocations: 180.2 kB / 0.9611 GB, free: 8.234 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.194e-05/0.01146, allocations: 180.5 kB / 0.9613 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.01157, allocations: 323.7 kB / 0.9616 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.01162, allocations: 120.8 kB / 0.9617 GB, free: 7.586 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.01168, allocations: 188.1 kB / 0.9619 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.01175, allocations: 105 kB / 0.962 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.0118, allocations: 180.2 kB / 0.9622 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.01182, allocations: 105 kB / 0.9623 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001371/0.01196, allocations: 217.2 kB / 0.9625 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01196, allocations: 0 / 0.9625 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00024/0.0122, allocations: 67.94 kB / 0.9625 GB, free: 6.715 MB / 0.9167 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.0004635/0.01267, allocations: 0.9217 MB / 0.9634 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.01279, allocations: 92.12 kB / 0.9635 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0128, allocations: 0 / 0.9635 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.0128, allocations: 0 / 0.9635 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.01307, allocations: 466.4 kB / 0.964 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.01477, allocations: 2.452 MB / 0.9663 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.01485, allocations: 122.9 kB / 0.9665 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.236e-05/0.01486, allocations: 12.11 kB / 0.9665 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.01491, allocations: 36.48 kB / 0.9665 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.01491, allocations: 0 / 0.9665 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.03436, allocations: 5.579 MB / 0.972 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.16, allocations: 0 / 0.972 GB, free: 13.02 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.150379187427461]