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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006134/0.006134, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001273/0.001273, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 64.12 kB / 1.018 GB, free: 9.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8962/0.8975, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003007/0.9006, allocations: 1.395 MB / 1.167 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002622/0.9032, allocations: 1.935 MB / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.9033, allocations: 0 / 1.169 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.9048, allocations: 383 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.9049, allocations: 27.86 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.438e-06/0.9049, allocations: 0 / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.9052, allocations: 123.2 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.955e-05/0.9052, allocations: 21.5 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.9053, allocations: 47.78 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.9055, allocations: 63.7 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.9055, allocations: 0 / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006564/0.9061, allocations: 191.8 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.798e-05/0.9062, allocations: 35.84 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.924e-05/0.9063, allocations: 67.61 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000566/0.9069, allocations: 289.1 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.9069, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9069, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.9069, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 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.0007202/0.9077, allocations: 490.6 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.9077, allocations: 12.61 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.9078, allocations: 114 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.9079, allocations: 96.03 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.9082, allocations: 287.3 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.9082, allocations: 154.9 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.9083, allocations: 150.9 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.114e-05/0.9084, allocations: 108.9 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.9084, allocations: 83.28 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.9085, allocations: 154.5 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-05/0.9085, allocations: 154.5 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.373e-05/0.9086, allocations: 150.6 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.909, allocations: 0.5055 MB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.909, allocations: 169.1 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.9091, allocations: 80.14 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.9091, allocations: 83.16 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.9092, allocations: 105.8 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.362e-06/0.9092, allocations: 4 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001792/0.9094, allocations: 49.52 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.9095, allocations: 130.7 kB / 1.174 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.9098, allocations: 318.3 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.9098, allocations: 25.7 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.9099, allocations: 120.4 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.539e-06/0.9099, allocations: 0 / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.91, allocations: 61.62 kB / 1.174 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9101, allocations: 338.8 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.9102, allocations: 55.97 kB / 1.174 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.9103, allocations: 118 kB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.9106, allocations: 213.8 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9106, allocations: 4 kB / 1.175 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004094/0.911, allocations: 241.1 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.911, allocations: 8 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.911, allocations: 0 / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.9111, allocations: 4 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.9111, allocations: 3.938 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.9111, allocations: 7.984 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.9112, allocations: 27.53 kB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.9112, allocations: 4 kB / 1.175 GB, free: 10.41 MB / 0.9044 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.0002302/0.9115, allocations: 233.2 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.9115, allocations: 116.7 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.9116, allocations: 117.6 kB / 1.175 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.059e-05/0.9117, allocations: 180.2 kB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.249e-05/0.9117, allocations: 184.2 kB / 1.176 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.26e-05/0.9118, allocations: 184.2 kB / 1.176 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.9121, allocations: 449.2 kB / 1.176 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.259e-05/0.9121, allocations: 113 kB / 1.177 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.9122, allocations: 108.9 kB / 1.177 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-05/0.9122, allocations: 180.3 kB / 1.177 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/0.9123, allocations: 188.2 kB / 1.177 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.807e-05/0.9124, allocations: 180.3 kB / 1.177 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.851e-05/0.9125, allocations: 184.3 kB / 1.177 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.9126, allocations: 319.6 kB / 1.178 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.9128, allocations: 205.7 kB / 1.178 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.585e-05/0.9128, allocations: 180.3 kB / 1.178 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.913, allocations: 105 kB / 1.178 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.9131, allocations: 180.2 kB / 1.178 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.9131, allocations: 101 kB / 1.178 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001889/0.9133, allocations: 217.9 kB / 1.179 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9133, allocations: 0 / 1.179 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000371/0.9137, allocations: 60 kB / 1.179 GB, free: 6.477 MB / 0.9044 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.0005913/0.9143, allocations: 0.9259 MB / 1.18 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.9145, allocations: 107.9 kB / 1.18 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9145, allocations: 0 / 1.18 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.9145, allocations: 0 / 1.18 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.9149, allocations: 461.8 kB / 1.18 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.9172, allocations: 2.453 MB / 1.182 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.9175, allocations: 0.7431 MB / 1.183 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.329e-05/0.9175, allocations: 4 kB / 1.183 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.9176, allocations: 35.42 kB / 1.183 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of SimCode: time 5.91e-07/0.9176, allocations: 0 / 1.183 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.9389, allocations: 4.849 MB / 1.188 GB, free: 12.88 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/8.658, allocations: 15.83 kB / 1.188 GB, free: 12.86 MB / 0.92 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