Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_med,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.0009617/0.0009618, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001572/0.001572, allocations: 194.9 kB / 16.25 MB, free: 6.625 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.341/1.341, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.165/2.165, allocations: 390.2 MB / 0.6644 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.8121 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5692/0.5705, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002382/0.5729, allocations: 1.465 MB / 0.9507 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002478/0.5754, allocations: 2.634 MB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.5755, allocations: 0.875 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.5772, allocations: 0.5627 MB / 0.9538 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.5772, allocations: 20.38 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.999e-06/0.5773, allocations: 4 kB / 0.9538 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.5775, allocations: 158.1 kB / 0.954 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.008e-05/0.5776, allocations: 36.53 kB / 0.954 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.5776, allocations: 56.02 kB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.5778, allocations: 76.56 kB / 0.9541 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.5778, allocations: 3.406 kB / 0.9541 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.579, allocations: 497 kB / 0.9546 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.579, allocations: 35.84 kB / 0.9546 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.5791, allocations: 98.95 kB / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.5798, allocations: 394.3 kB / 0.9551 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5798, allocations: 1.156 kB / 0.9551 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5798, allocations: 0 / 0.9551 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.5798, allocations: 0 / 0.9551 GB, free: 4.848 MB / 0.7169 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.0007275/0.5805, allocations: 0.5457 MB / 0.9556 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5806, allocations: 9.469 kB / 0.9556 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.5806, allocations: 111.3 kB / 0.9558 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.5808, allocations: 107.3 kB / 0.9559 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.581, allocations: 309.1 kB / 0.9562 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.581, allocations: 156 kB / 0.9563 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.581, allocations: 153.1 kB / 0.9564 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.015e-05/0.5811, allocations: 106.6 kB / 0.9565 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5811, allocations: 83.22 kB / 0.9566 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.5811, allocations: 150.6 kB / 0.9568 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.5812, allocations: 151.7 kB / 0.9569 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.5812, allocations: 151.8 kB / 0.9571 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.5815, allocations: 0.5339 MB / 0.9576 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.37e-05/0.5815, allocations: 170.5 kB / 0.9577 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.5815, allocations: 80.14 kB / 0.9578 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.5815, allocations: 76.41 kB / 0.9579 GB, free: 2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.5816, allocations: 115.2 kB / 0.958 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.5816, allocations: 4 kB / 0.958 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001696/0.5818, allocations: 57.3 kB / 0.9581 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.5818, allocations: 130.6 kB / 0.9582 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.5822, allocations: 431.5 kB / 0.9586 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.5822, allocations: 27.08 kB / 0.9586 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.5822, allocations: 134.3 kB / 0.9588 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.5823, allocations: 0 / 0.9588 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.5823, allocations: 95.09 kB / 0.9588 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.67e-05/0.5824, allocations: 340.6 kB / 0.9592 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.646e-05/0.5825, allocations: 98.41 kB / 0.9593 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.5826, allocations: 163.5 kB / 0.9594 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.5829, allocations: 313.8 kB / 0.9597 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5829, allocations: 0 / 0.9597 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004542/0.5833, allocations: 324.2 kB / 0.96 GB, free: 332 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5834, allocations: 9.375 kB / 0.96 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5834, allocations: 2.531 kB / 0.96 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5834, allocations: 1.75 kB / 0.96 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-06/0.5834, allocations: 9.859 kB / 0.96 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5834, allocations: 2.188 kB / 0.9601 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.5836, allocations: 48.91 kB / 0.9601 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.5836, allocations: 3.375 kB / 0.9601 GB, free: 280 kB / 0.7169 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.0001819/0.5838, allocations: 245.8 kB / 0.9603 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.976e-05/0.5839, allocations: 131.1 kB / 0.9605 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.5839, allocations: 122.8 kB / 0.9606 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.022e-05/0.584, allocations: 176.3 kB / 0.9607 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.991e-05/0.5841, allocations: 181.2 kB / 0.9609 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.086e-05/0.5841, allocations: 189.9 kB / 0.9611 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.5844, allocations: 472.5 kB / 0.9615 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.791e-05/0.5844, allocations: 102.1 kB / 0.9616 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.5845, allocations: 110 kB / 0.9618 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.697e-05/0.5845, allocations: 185.2 kB / 0.9619 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.5846, allocations: 181.4 kB / 0.9621 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.175e-05/0.5846, allocations: 181.5 kB / 0.9623 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.514e-05/0.5847, allocations: 177.4 kB / 0.9624 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.5848, allocations: 329.3 kB / 0.9628 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.5849, allocations: 201 kB / 0.9629 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.848e-05/0.585, allocations: 197.8 kB / 0.9631 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.5852, allocations: 101 kB / 0.9632 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.5852, allocations: 181.5 kB / 0.9634 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.5853, allocations: 105.8 kB / 0.9635 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002695/0.5855, allocations: 277.1 kB / 0.9638 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.5855, allocations: 0 / 0.9638 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000379/0.5859, allocations: 76.88 kB / 0.9638 GB, free: 12.48 MB / 0.7325 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.0005871/0.5865, allocations: 0.9543 MB / 0.9648 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.5868, allocations: 165 kB / 0.9649 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5868, allocations: 0 / 0.9649 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.5868, allocations: 448 / 0.9649 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.5872, allocations: 471.2 kB / 0.9654 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.5901, allocations: 2.938 MB / 0.9683 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.5904, allocations: 0.7863 MB / 0.969 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.612e-05/0.5905, allocations: 1.375 kB / 0.969 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.5905, allocations: 53.97 kB / 0.9691 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.5905, allocations: 0 / 0.9691 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.189/2.779, allocations: 6.12 MB / 0.9751 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/2.779, allocations: 223.9 kB / 0.9753 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/5.126, allocations: 0 / 0.9753 GB, free: 4.859 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches