Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 218.7 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.8 MB / 0.7715 GB, free: 3.91 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 64.72 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3544, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005152/0.3596, allocations: 3.061 MB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.3619, allocations: 1.313 MB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.362, allocations: 11.94 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.3631, allocations: 338.8 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.3635, allocations: 139.3 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.3638, allocations: 139.6 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.3642, allocations: 302.9 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.3646, allocations: 188.2 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.3648, allocations: 131.5 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003267/0.3651, allocations: 147.5 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.3652, allocations: 16 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.3654, allocations: 147.7 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3655, allocations: 91.66 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3657, allocations: 87.66 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.3661, allocations: 334.8 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3661, allocations: 11.94 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3661, allocations: 0 / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3661, allocations: 0 / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008667/0.367, allocations: 457.5 kB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3671, allocations: 12.03 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.987e-05/0.3671, allocations: 12.5 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.36e-05/0.3671, allocations: 54.73 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000607/0.3677, allocations: 84.72 kB / 1.291 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3681, allocations: 186.2 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3681, allocations: 12.75 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.3682, allocations: 16.38 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005638/0.3687, allocations: 376.2 kB / 1.291 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3687, allocations: 4 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.3688, allocations: 4 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.3688, allocations: 20.36 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.3691, allocations: 197 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.3706, allocations: 1.031 MB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.3709, allocations: 98.55 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.3709, allocations: 32.84 kB / 1.293 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.371, allocations: 8 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.371, allocations: 30.56 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.371, allocations: 0 / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004829/0.3715, allocations: 158.5 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3715, allocations: 51.41 kB / 1.293 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.3717, allocations: 191.6 kB / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3717, allocations: 25.7 kB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3719, allocations: 175.9 kB / 1.293 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3719, allocations: 19.86 kB / 1.293 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/0.372, allocations: 45.56 kB / 1.294 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3721, allocations: 330.8 kB / 1.294 GB, free: 444 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.3722, allocations: 27.98 kB / 1.294 GB, free: 416 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.3723, allocations: 100.6 kB / 1.294 GB, free: 284 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3725, allocations: 156.3 kB / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3725, allocations: 0 / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003465/0.3729, allocations: 186.2 kB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3729, allocations: 8 kB / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3729, allocations: 4 kB / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.3731, allocations: 29.12 kB / 1.294 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3732, allocations: 31.86 kB / 1.294 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.3744, allocations: 1.311 MB / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.3745, allocations: 15.92 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3745, allocations: 8 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.3747, allocations: 151 kB / 1.296 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.3748, allocations: 15.97 kB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.3748, allocations: 21.41 kB / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3748, allocations: 4 kB / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.3748, allocations: 0 / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3748, allocations: 0 / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/0.3754, allocations: 406.3 kB / 1.296 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3754, allocations: 7.938 kB / 1.296 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.3754, allocations: 8 kB / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.878e-05/0.3755, allocations: 28.78 kB / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3755, allocations: 7.984 kB / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.3767, allocations: 1.299 MB / 1.298 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3767, allocations: 3.938 kB / 1.298 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.3769, allocations: 212.3 kB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.377, allocations: 24.03 kB / 1.298 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.377, allocations: 4 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3771, allocations: 4 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.3771, allocations: 7.984 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.3772, allocations: 4 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001498/0.3773, allocations: 148.7 kB / 1.298 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3773, allocations: 0 / 1.298 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003459/0.3777, allocations: 55.83 kB / 1.298 GB, free: 11.79 MB / 0.9981 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006218/0.3783, allocations: 0.7527 MB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.3787, allocations: 206.6 kB / 1.299 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3787, allocations: 0 / 1.299 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.3789, allocations: 150.6 kB / 1.299 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.3793, allocations: 45.64 kB / 1.299 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.3817, allocations: 2.053 MB / 1.301 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.3819, allocations: 139.9 kB / 1.301 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.768e-05/0.382, allocations: 21.47 kB / 1.301 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.3821, allocations: 51.42 kB / 1.301 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/0.3821, allocations: 4 kB / 1.301 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.4096, allocations: 4.059 MB / 1.305 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.52, allocations: 14.47 kB / 1.305 GB, free: 4.289 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.22214632795658]