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.001354/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001602/0.001602, allocations: 192.8 kB / 16.13 MB, free: 6.699 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.296/1.296, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.245/2.245, allocations: 390.2 MB / 0.6643 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 59.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.599/0.6004, allocations: 140.4 MB / 0.949 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002286/0.6027, allocations: 1.457 MB / 0.9505 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.6045, allocations: 1.911 MB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.6045, allocations: 0 / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009489/0.6055, allocations: 371.6 kB / 0.9527 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.348e-05/0.6055, allocations: 15.58 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.156e-06/0.6055, allocations: 0 / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.6057, allocations: 136.4 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.6058, allocations: 22.73 kB / 0.9529 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.6058, allocations: 38.16 kB / 0.9529 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.6059, allocations: 73.23 kB / 0.953 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.606, allocations: 1.75 kB / 0.953 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.6064, allocations: 176.9 kB / 0.9531 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.6065, allocations: 35.39 kB / 0.9532 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.639e-05/0.6066, allocations: 69.14 kB / 0.9532 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.607, allocations: 292.2 kB / 0.9535 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.607, allocations: 0 / 0.9535 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.61e-07/0.607, allocations: 1.125 kB / 0.9535 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.607, allocations: 0 / 0.9535 GB, free: 5.91 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.000545/0.6075, allocations: 494.6 kB / 0.954 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.6076, allocations: 8.875 kB / 0.954 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.401e-05/0.6076, allocations: 106 kB / 0.9541 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.6078, allocations: 98.64 kB / 0.9542 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.6079, allocations: 288.6 kB / 0.9545 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.6079, allocations: 161.2 kB / 0.9546 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.608, allocations: 156.9 kB / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.054e-05/0.608, allocations: 104.9 kB / 0.9549 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.608, allocations: 80.23 kB / 0.9549 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.608, allocations: 150.6 kB / 0.9551 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.6081, allocations: 155.5 kB / 0.9552 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.6081, allocations: 154.6 kB / 0.9554 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.6083, allocations: 0.502 MB / 0.9559 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.476e-05/0.6084, allocations: 174.5 kB / 0.956 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.6084, allocations: 84.12 kB / 0.9561 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.6084, allocations: 83.22 kB / 0.9562 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.6084, allocations: 111.2 kB / 0.9563 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.6084, allocations: 3.938 kB / 0.9563 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001492/0.6086, allocations: 48.11 kB / 0.9564 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.6086, allocations: 126.7 kB / 0.9565 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.6088, allocations: 324 kB / 0.9568 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.6089, allocations: 25.7 kB / 0.9568 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.6089, allocations: 120.3 kB / 0.9569 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.6089, allocations: 0 / 0.9569 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.609, allocations: 64.83 kB / 0.957 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.609, allocations: 328.7 kB / 0.9573 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.6091, allocations: 67.8 kB / 0.9574 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-05/0.6092, allocations: 122.9 kB / 0.9575 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.6094, allocations: 207.3 kB / 0.9577 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6094, allocations: 3.844 kB / 0.9577 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003343/0.6097, allocations: 235.4 kB / 0.9579 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.6097, allocations: 5.094 kB / 0.9579 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6097, allocations: 4.906 kB / 0.9579 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.6098, allocations: 0 / 0.9579 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.154e-06/0.6098, allocations: 5.312 kB / 0.9579 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6098, allocations: 6.906 kB / 0.9579 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.6099, allocations: 30 kB / 0.958 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.6099, allocations: 3.062 kB / 0.958 GB, free: 1.66 MB / 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.0001298/0.61, allocations: 225.7 kB / 0.9582 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.6101, allocations: 122.7 kB / 0.9583 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.6101, allocations: 116.3 kB / 0.9584 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.6101, allocations: 181.6 kB / 0.9586 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/0.6102, allocations: 181.6 kB / 0.9587 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.6102, allocations: 176.3 kB / 0.9589 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.6103, allocations: 450.2 kB / 0.9593 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.6104, allocations: 118.2 kB / 0.9595 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.6104, allocations: 109 kB / 0.9596 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.663e-05/0.6105, allocations: 181.5 kB / 0.9597 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.6105, allocations: 177.5 kB / 0.9599 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.007e-05/0.6106, allocations: 181.5 kB / 0.9601 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-05/0.6106, allocations: 177.5 kB / 0.9602 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.6107, allocations: 328.2 kB / 0.9606 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.6108, allocations: 202.3 kB / 0.9608 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/0.6109, allocations: 185.5 kB / 0.9609 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.611, allocations: 102.3 kB / 0.961 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.6111, allocations: 181.8 kB / 0.9612 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.6111, allocations: 110.1 kB / 0.9613 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001769/0.6113, allocations: 216.8 kB / 0.9615 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6113, allocations: 0 / 0.9615 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000333/0.6116, allocations: 67.12 kB / 0.9616 GB, free: 13.95 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.0004865/0.6121, allocations: 0.9242 MB / 0.9625 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.6123, allocations: 105.6 kB / 0.9626 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6123, allocations: 448 / 0.9626 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.6123, allocations: 5 kB / 0.9626 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.6127, allocations: 0.5311 MB / 0.9631 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.6148, allocations: 2.435 MB / 0.9655 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.6151, allocations: 0.7398 MB / 0.9662 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.548e-05/0.6151, allocations: 1.844 kB / 0.9662 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.6152, allocations: 41.61 kB / 0.9662 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6152, allocations: 0 / 0.9662 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2069/0.822, allocations: 4.632 MB / 0.9708 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.8223, allocations: 224.6 kB / 0.971 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.521, allocations: 0 / 0.971 GB, free: 7.273 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