Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_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.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00166/0.00166, allocations: 199.8 kB / 16.14 MB, free: 6.605 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.394/2.394, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.84 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.524, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002455/0.5265, allocations: 1.484 MB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002758/0.5293, allocations: 2.643 MB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.5293, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.5307, allocations: 0.5484 MB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.624e-05/0.5307, allocations: 23.91 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.936e-06/0.5308, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.531, allocations: 174.9 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.531, allocations: 36.39 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.348e-05/0.5311, allocations: 59.72 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.5312, allocations: 75.59 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.5312, allocations: 4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.5323, allocations: 499.2 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.5324, allocations: 35.78 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.5325, allocations: 95.42 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006065/0.5331, allocations: 390.3 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5332, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5332, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.5332, allocations: 0 / 1.023 GB, free: 12.75 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.0008862/0.5341, allocations: 0.5606 MB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5341, allocations: 8.031 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.5342, allocations: 106 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.5344, allocations: 99.94 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.5346, allocations: 306.3 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.548e-05/0.5347, allocations: 150.9 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.5347, allocations: 162.9 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.714e-05/0.5348, allocations: 105.5 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.5349, allocations: 79.22 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/0.5349, allocations: 154.5 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.334e-05/0.535, allocations: 154.6 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.535, allocations: 154.6 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.5354, allocations: 0.5366 MB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.748e-05/0.5355, allocations: 169.1 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.5355, allocations: 84.12 kB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.5356, allocations: 79.28 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.5356, allocations: 109.8 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.5356, allocations: 0 / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001663/0.5358, allocations: 57.34 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.5359, allocations: 130.7 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.5363, allocations: 433.1 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.5363, allocations: 29.7 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.5364, allocations: 132.5 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.5364, allocations: 0 / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/0.5365, allocations: 93.66 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5366, allocations: 342.8 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.5367, allocations: 96.5 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.5368, allocations: 165.3 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.5371, allocations: 309.6 kB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.5371, allocations: 0 / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000459/0.5376, allocations: 325 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5376, allocations: 10.28 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.5376, allocations: 4 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.5376, allocations: 0 / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-06/0.5377, allocations: 7.984 kB / 1.028 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5377, allocations: 8.156 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.5378, allocations: 47.28 kB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.5378, allocations: 4 kB / 1.028 GB, free: 7.34 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.0001834/0.538, allocations: 237.1 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/0.5381, allocations: 128.7 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.5381, allocations: 122.9 kB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.735e-05/0.5382, allocations: 180.3 kB / 1.028 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.617e-05/0.5382, allocations: 180.2 kB / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-05/0.5383, allocations: 180.3 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.5386, allocations: 477.2 kB / 1.029 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/0.5386, allocations: 104.9 kB / 1.029 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.5386, allocations: 105 kB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-05/0.5387, allocations: 188.1 kB / 1.029 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.5387, allocations: 184.3 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.016e-05/0.5388, allocations: 176.3 kB / 1.03 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.654e-05/0.5389, allocations: 180.2 kB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.539, allocations: 327.5 kB / 1.03 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.5391, allocations: 201.7 kB / 1.03 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.5392, allocations: 192.1 kB / 1.031 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.5393, allocations: 101 kB / 1.031 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.5393, allocations: 180.3 kB / 1.031 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.5394, allocations: 108.9 kB / 1.031 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002378/0.5396, allocations: 283.1 kB / 1.031 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5396, allocations: 0 / 1.031 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003348/0.54, allocations: 79.98 kB / 1.031 GB, free: 3.281 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.0005366/0.5405, allocations: 0.9578 MB / 1.032 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.5407, allocations: 171.8 kB / 1.032 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5407, allocations: 0 / 1.032 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.5407, allocations: 0 / 1.032 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.5411, allocations: 0.5306 MB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.5438, allocations: 2.938 MB / 1.036 GB, free: 14.54 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.5441, allocations: 0.7706 MB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.351e-05/0.5441, allocations: 7.938 kB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.5442, allocations: 55.41 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.5442, allocations: 0 / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7503/1.294, allocations: 6.018 MB / 1.043 GB, free: 7.82 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/1.295, allocations: 220.8 kB / 1.043 GB, free: 7.57 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.512, allocations: 5.656 kB / 1.043 GB, free: 7.566 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches