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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008773/0.0008773, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005018/0.005018, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437.8 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 12 kB / 0.8729 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5254, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001389/0.5268, allocations: 1.121 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.5288, allocations: 1.892 MB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.846e-05/0.5288, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.5296, allocations: 359.2 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.5297, allocations: 23.84 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.525e-06/0.5297, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.5299, allocations: 147.1 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.53, allocations: 25.48 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.53, allocations: 35.88 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.5301, allocations: 67.7 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.5301, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.5305, allocations: 187.9 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.5306, allocations: 27.84 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.5307, allocations: 101.3 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.531, allocations: 285.1 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.531, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5311, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.5311, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 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.0005636/0.5316, allocations: 478.6 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.5317, allocations: 12.03 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.754e-05/0.5317, allocations: 110 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.5319, allocations: 96.03 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.5321, allocations: 287.3 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.5321, allocations: 158.9 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.5322, allocations: 150.9 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.451e-05/0.5322, allocations: 108.9 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.5323, allocations: 75.28 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.5323, allocations: 154.5 kB / 1.029 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.633e-05/0.5324, allocations: 154.6 kB / 1.029 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.247e-05/0.5324, allocations: 154.6 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.5327, allocations: 0.5094 MB / 1.03 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.947e-05/0.5328, allocations: 173.1 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.5329, allocations: 80.14 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.5329, allocations: 83.16 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.5329, allocations: 109.8 kB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.5329, allocations: 4 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001513/0.5331, allocations: 45.52 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.5332, allocations: 126.7 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.5334, allocations: 322.3 kB / 1.031 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.5335, allocations: 29.7 kB / 1.031 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.5335, allocations: 112.4 kB / 1.031 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.5335, allocations: 3.938 kB / 1.031 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.5336, allocations: 49.69 kB / 1.031 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5337, allocations: 338.8 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.5338, allocations: 63.95 kB / 1.031 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.5339, allocations: 114 kB / 1.031 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.5341, allocations: 213.9 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5341, allocations: 0 / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003791/0.5345, allocations: 237.1 kB / 1.032 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5345, allocations: 7.984 kB / 1.032 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5345, allocations: 4 kB / 1.032 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.5345, allocations: 0 / 1.032 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.5346, allocations: 4 kB / 1.032 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.5346, allocations: 0 / 1.032 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.5347, allocations: 27.62 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.5347, allocations: 8 kB / 1.032 GB, free: 6.82 MB / 0.7794 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.0001611/0.5349, allocations: 229.2 kB / 1.032 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/0.5349, allocations: 128.6 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.535, allocations: 113.8 kB / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.346e-05/0.535, allocations: 180.2 kB / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.454e-05/0.5351, allocations: 176.3 kB / 1.032 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.706e-05/0.5352, allocations: 192.2 kB / 1.033 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.5354, allocations: 449.2 kB / 1.033 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/0.5354, allocations: 109 kB / 1.033 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.5355, allocations: 108.9 kB / 1.033 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/0.5355, allocations: 176.3 kB / 1.033 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/0.5356, allocations: 192.2 kB / 1.034 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-05/0.5357, allocations: 176.3 kB / 1.034 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.376e-05/0.5357, allocations: 180.2 kB / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.5358, allocations: 311.6 kB / 1.034 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-05/0.5359, allocations: 205.8 kB / 1.034 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.405e-05/0.536, allocations: 180.3 kB / 1.035 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5361, allocations: 108.9 kB / 1.035 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.5362, allocations: 184.2 kB / 1.035 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.5362, allocations: 101 kB / 1.035 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001697/0.5364, allocations: 213.9 kB / 1.035 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5364, allocations: 0 / 1.035 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000305/0.5367, allocations: 63.98 kB / 1.035 GB, free: 2.906 MB / 0.7794 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.0005064/0.5373, allocations: 0.9375 MB / 1.036 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.5374, allocations: 99.89 kB / 1.036 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5374, allocations: 4 kB / 1.036 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.5374, allocations: 0 / 1.036 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.5378, allocations: 0.5303 MB / 1.037 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.5399, allocations: 2.461 MB / 1.039 GB, free: 14.72 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.5402, allocations: 0.7433 MB / 1.04 GB, free: 13.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.01e-05/0.5403, allocations: 4 kB / 1.04 GB, free: 13.95 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.5403, allocations: 35.42 kB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.5403, allocations: 0 / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8537/1.394, allocations: 4.553 MB / 1.044 GB, free: 9.543 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/1.394, allocations: 221.8 kB / 1.045 GB, free: 9.289 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.975, allocations: 8 kB / 1.045 GB, free: 9.281 MB / 0.795 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=50 --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