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.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_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.008978/0.008978, allocations: 100.6 kB / 15.73 MB, free: 5.996 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.002048/0.002048, allocations: 201.1 kB / 16.68 MB, free: 5.918 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.216/2.216, allocations: 390.3 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.89 kB / 0.9504 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.87, allocations: 140.4 MB / 1.087 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002456/0.8725, allocations: 1.395 MB / 1.089 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.8747, allocations: 1.932 MB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.8748, allocations: 0 / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.876, allocations: 387 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.8761, allocations: 24.61 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.8761, allocations: 0 / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.8763, allocations: 121.1 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.921e-05/0.8764, allocations: 23.84 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.8765, allocations: 51.02 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.8767, allocations: 61.48 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.8767, allocations: 6.547 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.8772, allocations: 182.6 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.8773, allocations: 31.88 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.472e-05/0.8774, allocations: 72.33 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.8779, allocations: 294.2 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.8779, allocations: 4 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8779, allocations: 0 / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.8779, allocations: 1.031 kB / 1.092 GB, free: 2.457 MB / 0.8575 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.0007118/0.8787, allocations: 490.8 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.8787, allocations: 10.22 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.81e-05/0.8788, allocations: 110.7 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.8789, allocations: 99.25 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.8791, allocations: 287.7 kB / 1.093 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.8791, allocations: 152 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.8792, allocations: 157.8 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.118e-05/0.8792, allocations: 109.4 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.8792, allocations: 80.44 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.8793, allocations: 151.1 kB / 1.093 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.8793, allocations: 150.6 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.964e-05/0.8793, allocations: 151.5 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.8796, allocations: 0.5036 MB / 1.094 GB, free: 84 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.8797, allocations: 175.2 kB / 1.094 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.8797, allocations: 80.95 kB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.8798, allocations: 83.22 kB / 1.095 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.8798, allocations: 111.3 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.8798, allocations: 0.7812 kB / 1.095 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001861/0.88, allocations: 49.75 kB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.8801, allocations: 127.3 kB / 1.095 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.8805, allocations: 323.1 kB / 1.095 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.8805, allocations: 29.7 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.8806, allocations: 114.1 kB / 1.095 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.8806, allocations: 0.7188 kB / 1.095 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.8807, allocations: 65.25 kB / 1.095 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8808, allocations: 334.6 kB / 1.096 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.881, allocations: 63.97 kB / 1.096 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.8811, allocations: 114.3 kB / 1.096 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.8814, allocations: 213.6 kB / 1.096 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8814, allocations: 0.625 kB / 1.096 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004846/0.8819, allocations: 239.6 kB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.8819, allocations: 5.562 kB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.882, allocations: 6.094 kB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.882, allocations: 2.812 kB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.437e-06/0.882, allocations: 2.312 kB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.882, allocations: 3.125 kB / 1.096 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.8821, allocations: 25.84 kB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.8822, allocations: 4.141 kB / 1.096 GB, free: 14.43 MB / 0.8731 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.0002749/0.8824, allocations: 231.2 kB / 1.097 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.8825, allocations: 127.6 kB / 1.097 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.8826, allocations: 115.4 kB / 1.097 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.75e-05/0.8827, allocations: 177.9 kB / 1.097 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.576e-05/0.8828, allocations: 177.9 kB / 1.097 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.285e-05/0.8828, allocations: 185.9 kB / 1.097 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.8832, allocations: 448.7 kB / 1.098 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.398e-05/0.8832, allocations: 114.4 kB / 1.098 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.8833, allocations: 106.5 kB / 1.098 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.065e-05/0.8833, allocations: 177.8 kB / 1.098 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.312e-05/0.8834, allocations: 186 kB / 1.098 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.106e-05/0.8835, allocations: 178.4 kB / 1.098 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001266/0.8836, allocations: 181.8 kB / 1.099 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.8838, allocations: 314.6 kB / 1.099 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.884, allocations: 201.4 kB / 1.099 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-05/0.8841, allocations: 182.4 kB / 1.099 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.8842, allocations: 107.3 kB / 1.099 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.8843, allocations: 181.6 kB / 1.1 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.8843, allocations: 102.5 kB / 1.1 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002345/0.8845, allocations: 219.1 kB / 1.1 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8845, allocations: 0 / 1.1 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004997/0.8851, allocations: 65.03 kB / 1.1 GB, free: 10.79 MB / 0.8731 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.0006862/0.8858, allocations: 0.9373 MB / 1.101 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.886, allocations: 102.9 kB / 1.101 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.886, allocations: 0 / 1.101 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.886, allocations: 0.625 kB / 1.101 GB, free: 9.875 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.8864, allocations: 471.9 kB / 1.101 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.8893, allocations: 2.433 MB / 1.104 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.8897, allocations: 0.7433 MB / 1.105 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.8897, allocations: 7.797 kB / 1.105 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.8897, allocations: 36.52 kB / 1.105 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.8898, allocations: 1.125 kB / 1.105 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.9157, allocations: 4.905 MB / 1.109 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.676, allocations: 8.531 kB / 1.109 GB, free: 6.262 MB / 0.8731 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