Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004773/0.004773, allocations: 101.7 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 193 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.226/2.226, allocations: 437.1 MB / 0.7106 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 63.89 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6097/0.6115, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002285/0.6138, allocations: 1.402 MB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.6161, allocations: 1.927 MB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.6161, allocations: 0 / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008834/0.617, allocations: 385.9 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.59e-05/0.6171, allocations: 19.91 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.6171, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.6173, allocations: 127.1 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.6173, allocations: 29.44 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.6174, allocations: 39.84 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.6175, allocations: 63.7 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.6175, allocations: 8 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004562/0.618, allocations: 183.9 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.6181, allocations: 31.84 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.6e-05/0.6181, allocations: 67.61 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.6186, allocations: 286.5 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.6186, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6186, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.6186, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 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.00063/0.6192, allocations: 0.4944 MB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.6193, allocations: 16.56 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.646e-05/0.6193, allocations: 110 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.6195, allocations: 100.1 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.6197, allocations: 295.3 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/0.6198, allocations: 150.9 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.6198, allocations: 158.9 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.269e-05/0.6199, allocations: 104.9 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.6199, allocations: 79.28 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.62, allocations: 162.5 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/0.6201, allocations: 150.6 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.998e-05/0.6201, allocations: 154.5 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.6205, allocations: 0.5017 MB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.903e-05/0.6206, allocations: 165.1 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.6206, allocations: 84.12 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.6206, allocations: 83.22 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.6207, allocations: 109.8 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.6207, allocations: 0 / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001559/0.6209, allocations: 53.5 kB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.6209, allocations: 130.7 kB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.6213, allocations: 318.4 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.6213, allocations: 25.7 kB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.6214, allocations: 116.5 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.6214, allocations: 4 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.6215, allocations: 65.67 kB / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6216, allocations: 326.8 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.6217, allocations: 59.95 kB / 1.174 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.6218, allocations: 121.9 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.6221, allocations: 205.9 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6221, allocations: 0 / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003926/0.6225, allocations: 241.2 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.6225, allocations: 10.66 kB / 1.175 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.6225, allocations: 3.938 kB / 1.175 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.6225, allocations: 4 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.088e-06/0.6225, allocations: 4 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6225, allocations: 4.219 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.6226, allocations: 35.67 kB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.6227, allocations: 4 kB / 1.175 GB, free: 10.3 MB / 0.9044 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.0001894/0.6229, allocations: 221.1 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/0.6229, allocations: 124.8 kB / 1.175 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.879e-05/0.623, allocations: 117.6 kB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.024e-05/0.6231, allocations: 188.2 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.018e-05/0.6232, allocations: 176.3 kB / 1.176 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-05/0.6233, allocations: 180.2 kB / 1.176 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.6236, allocations: 453.1 kB / 1.176 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.965e-05/0.6236, allocations: 116.9 kB / 1.177 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.6237, allocations: 108.9 kB / 1.177 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.259e-05/0.6237, allocations: 180.3 kB / 1.177 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.538e-05/0.6238, allocations: 180.3 kB / 1.177 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.522e-05/0.6239, allocations: 184.2 kB / 1.177 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.511e-05/0.624, allocations: 176.3 kB / 1.177 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.6241, allocations: 327.6 kB / 1.178 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.6243, allocations: 197.9 kB / 1.178 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-05/0.6244, allocations: 188.2 kB / 1.178 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.6245, allocations: 101 kB / 1.178 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.6246, allocations: 180.2 kB / 1.178 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.6247, allocations: 105 kB / 1.178 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001952/0.6249, allocations: 217.9 kB / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6249, allocations: 0 / 1.179 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003033/0.6252, allocations: 63.94 kB / 1.179 GB, free: 6.363 MB / 0.9044 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.0006182/0.6258, allocations: 0.926 MB / 1.18 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.626, allocations: 99.89 kB / 1.18 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.626, allocations: 0 / 1.18 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.626, allocations: 0 / 1.18 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.6264, allocations: 464.7 kB / 1.18 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.6287, allocations: 2.449 MB / 1.183 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.6291, allocations: 0.747 MB / 1.183 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.021e-05/0.6291, allocations: 4.25 kB / 1.183 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.6292, allocations: 35.42 kB / 1.183 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.6292, allocations: 0 / 1.183 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.809/5.439, allocations: 4.853 MB / 1.188 GB, free: 12.77 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/21.06, allocations: 17.83 kB / 1.188 GB, free: 12.75 MB / 0.92 GB (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches