Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_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.008145/0.008145, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001733/0.001733, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 60.12 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3104, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00295/0.3134, allocations: 1.408 MB / 1.209 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3167, allocations: 2.674 MB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.3168, allocations: 0 / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.3186, allocations: 0.5848 MB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.005e-05/0.3187, allocations: 15.86 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.509e-06/0.3187, allocations: 4 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.319, allocations: 158.9 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.319, allocations: 36.39 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.543e-05/0.3191, allocations: 63.72 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3193, allocations: 79.58 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.3193, allocations: 0 / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.3204, allocations: 471.3 kB / 1.213 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.3205, allocations: 39.77 kB / 1.213 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.429e-05/0.3206, allocations: 91.42 kB / 1.213 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006814/0.3213, allocations: 450.2 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3213, allocations: 0 / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3213, allocations: 0 / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3213, allocations: 0 / 1.213 GB, free: 4.094 MB / 0.9669 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.0007971/0.3221, allocations: 0.549 MB / 1.214 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3222, allocations: 16.62 kB / 1.214 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.3222, allocations: 106 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.3224, allocations: 107.8 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.3227, allocations: 302.3 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.3227, allocations: 150.9 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.3228, allocations: 154.9 kB / 1.214 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.514e-05/0.3229, allocations: 113.5 kB / 1.215 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.3229, allocations: 79.22 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.323, allocations: 150.6 kB / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.481e-05/0.323, allocations: 150.6 kB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.765e-05/0.3231, allocations: 154.5 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.3234, allocations: 0.5367 MB / 1.216 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.609e-05/0.3235, allocations: 169.1 kB / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.3235, allocations: 80.14 kB / 1.216 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.3236, allocations: 75.28 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.3236, allocations: 109.8 kB / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.3236, allocations: 3.984 kB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001835/0.3238, allocations: 57.27 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.3239, allocations: 134.7 kB / 1.216 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.3243, allocations: 433.2 kB / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3243, allocations: 25.7 kB / 1.217 GB, free: 280 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.3244, allocations: 132.5 kB / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-06/0.3244, allocations: 0 / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.3245, allocations: 97.55 kB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3247, allocations: 342.8 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3248, allocations: 96.5 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.3249, allocations: 165.3 kB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.3252, allocations: 305.6 kB / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3252, allocations: 4 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004981/0.3258, allocations: 332.9 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3258, allocations: 7.938 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3258, allocations: 4 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3258, allocations: 0 / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-06/0.3258, allocations: 4 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3258, allocations: 3.938 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.326, allocations: 39.38 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.326, allocations: 8.219 kB / 1.218 GB, free: 14.7 MB / 0.9825 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.0002298/0.3262, allocations: 241.1 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.3263, allocations: 132.5 kB / 1.219 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.3264, allocations: 118.9 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.486e-05/0.3264, allocations: 180.3 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.346e-05/0.3265, allocations: 184.2 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.317e-05/0.3266, allocations: 180.2 kB / 1.219 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.3268, allocations: 473.2 kB / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.505e-05/0.3269, allocations: 113 kB / 1.22 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.3269, allocations: 105 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-05/0.327, allocations: 184.1 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/0.327, allocations: 184.3 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-05/0.3271, allocations: 180.3 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.303e-05/0.3271, allocations: 184.2 kB / 1.22 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.3273, allocations: 319.5 kB / 1.221 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.414e-05/0.3274, allocations: 205.8 kB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.521e-05/0.3275, allocations: 180.2 kB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3276, allocations: 108.9 kB / 1.221 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.3277, allocations: 176.3 kB / 1.221 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.3277, allocations: 104.9 kB / 1.222 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002467/0.3279, allocations: 287.1 kB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.328, allocations: 4 kB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003913/0.3284, allocations: 83.98 kB / 1.222 GB, free: 10.63 MB / 0.9825 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.0006728/0.329, allocations: 0.9624 MB / 1.223 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.3293, allocations: 163.8 kB / 1.223 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3293, allocations: 4.438 kB / 1.223 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3293, allocations: 0 / 1.223 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.3297, allocations: 465.1 kB / 1.223 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.3324, allocations: 2.934 MB / 1.226 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.3327, allocations: 0.7782 MB / 1.227 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.43e-05/0.3327, allocations: 0 / 1.227 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.3328, allocations: 59.41 kB / 1.227 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3328, allocations: 3.938 kB / 1.227 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.3568, allocations: 6.542 MB / 1.234 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.931, allocations: 11.86 kB / 1.234 GB, free: 14.69 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches