Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_low,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_9_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.0008692/0.0008691, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.0009398/0.0009398, allocations: 172.5 kB / 16.26 MB, free: 6.664 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.196/1.196, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.117/2.117, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5245/0.5249, allocations: 142.4 MB / 0.9552 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001345/0.5263, allocations: 1.119 MB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.5279, allocations: 1.889 MB / 0.9581 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.636e-05/0.528, allocations: 4 kB / 0.9581 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007477/0.5287, allocations: 358.3 kB / 0.9584 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.5288, allocations: 20.94 kB / 0.9585 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.595e-06/0.5288, allocations: 7.938 kB / 0.9585 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.529, allocations: 135.9 kB / 0.9586 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.5291, allocations: 23.19 kB / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.948e-05/0.5291, allocations: 42.14 kB / 0.9587 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.878e-05/0.5292, allocations: 64.14 kB / 0.9587 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.5292, allocations: 2.188 kB / 0.9587 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.5296, allocations: 181.8 kB / 0.9589 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.5296, allocations: 27.69 kB / 0.9589 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.5297, allocations: 101.2 kB / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.5301, allocations: 293.4 kB / 0.9593 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5301, allocations: 0 / 0.9593 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5301, allocations: 0 / 0.9593 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.5301, allocations: 0 / 0.9593 GB, free: 4.531 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.0005065/0.5306, allocations: 479.2 kB / 0.9598 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5307, allocations: 9.625 kB / 0.9598 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.221e-05/0.5307, allocations: 106 kB / 0.9599 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.5308, allocations: 101.6 kB / 0.96 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.531, allocations: 289.3 kB / 0.9602 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.531, allocations: 152.3 kB / 0.9604 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.531, allocations: 157.7 kB / 0.9605 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.526e-05/0.5311, allocations: 108.9 kB / 0.9606 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5311, allocations: 75.28 kB / 0.9607 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.5311, allocations: 155.9 kB / 0.9609 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.5311, allocations: 154.5 kB / 0.961 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.5312, allocations: 151.9 kB / 0.9612 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.5314, allocations: 0.5037 MB / 0.9617 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.5314, allocations: 174.5 kB / 0.9618 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.5315, allocations: 81.52 kB / 0.9619 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.5315, allocations: 83.16 kB / 0.962 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.5315, allocations: 111.2 kB / 0.9621 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.5315, allocations: 0 / 0.9621 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001478/0.5317, allocations: 47.08 kB / 0.9621 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.5317, allocations: 132.1 kB / 0.9623 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.532, allocations: 318.9 kB / 0.9626 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.532, allocations: 35.02 kB / 0.9626 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.532, allocations: 111.3 kB / 0.9627 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.532, allocations: 0 / 0.9627 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.5321, allocations: 48.94 kB / 0.9627 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.5321, allocations: 332.3 kB / 0.9631 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.5322, allocations: 72.34 kB / 0.9631 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.06e-05/0.5323, allocations: 121.7 kB / 0.9632 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.5325, allocations: 205.3 kB / 0.9634 GB, free: 476 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5325, allocations: 0 / 0.9634 GB, free: 476 kB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003616/0.5329, allocations: 245.8 kB / 0.9637 GB, free: 332 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5329, allocations: 10.25 kB / 0.9637 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5329, allocations: 1.438 kB / 0.9637 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.5329, allocations: 2.688 kB / 0.9637 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.5329, allocations: 1.969 kB / 0.9637 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5329, allocations: 2.031 kB / 0.9637 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.533, allocations: 25.62 kB / 0.9637 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.5331, allocations: 3.969 kB / 0.9637 GB, free: 308 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.0001242/0.5332, allocations: 236.5 kB / 0.9639 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.5333, allocations: 123.8 kB / 0.9641 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.109e-05/0.5333, allocations: 116.6 kB / 0.9642 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.423e-05/0.5334, allocations: 181.3 kB / 0.9643 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.526e-05/0.5334, allocations: 177.4 kB / 0.9645 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.272e-05/0.5335, allocations: 181.3 kB / 0.9647 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.5337, allocations: 453.9 kB / 0.9651 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-05/0.5338, allocations: 105.7 kB / 0.9652 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.5338, allocations: 109.7 kB / 0.9653 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-05/0.5339, allocations: 181.3 kB / 0.9655 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/0.5339, allocations: 185.2 kB / 0.9657 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.416e-05/0.534, allocations: 177.3 kB / 0.9658 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.183e-05/0.534, allocations: 181.3 kB / 0.966 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.5342, allocations: 320.8 kB / 0.9663 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.5343, allocations: 198.9 kB / 0.9665 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.5343, allocations: 177.3 kB / 0.9667 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.5345, allocations: 114.8 kB / 0.9668 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.5346, allocations: 185.2 kB / 0.967 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.5346, allocations: 102 kB / 0.9671 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001856/0.5348, allocations: 216.2 kB / 0.9673 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5348, allocations: 0.875 kB / 0.9673 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003187/0.5351, allocations: 62.5 kB / 0.9673 GB, free: 12.59 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.0005171/0.5356, allocations: 0.9242 MB / 0.9682 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.5358, allocations: 106 kB / 0.9683 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5358, allocations: 0 / 0.9683 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.5358, allocations: 0 / 0.9683 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.5362, allocations: 0.5289 MB / 0.9689 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.5384, allocations: 2.456 MB / 0.9713 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.5387, allocations: 0.7359 MB / 0.972 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.5387, allocations: 11.02 kB / 0.972 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.5387, allocations: 35.42 kB / 0.972 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.5387, allocations: 7.938 kB / 0.972 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.051/1.59, allocations: 4.552 MB / 0.9765 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/1.59, allocations: 223.1 kB / 0.9767 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/4.523, allocations: 3.938 kB / 0.9767 GB, free: 5.992 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches