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.001255/0.001255, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001456/0.001456, allocations: 219.6 kB / 22.26 MB, free: 5.125 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.988 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.846/2.846, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",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.002064/0.002064, allocations: 66.95 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3534, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005522/0.3589, allocations: 3.202 MB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3616, allocations: 1.426 MB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.3617, allocations: 4 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.3628, allocations: 349.1 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.3632, allocations: 143.2 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.3636, allocations: 139.7 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.364, allocations: 306.9 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.3645, allocations: 188.2 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.3646, allocations: 127.5 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.365, allocations: 143.5 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.365, allocations: 20 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.3653, allocations: 175.6 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.3654, allocations: 79.73 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.3655, allocations: 107.5 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.366, allocations: 342.8 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.366, allocations: 0 / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.366, allocations: 3.938 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.366, allocations: 0 / 1.29 GB, free: 4.883 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.0008935/0.3669, allocations: 465.4 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.367, allocations: 8.031 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.686e-05/0.3671, allocations: 54.73 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005761/0.3676, allocations: 80.72 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.368, allocations: 179.8 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.368, allocations: 16.73 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.368, allocations: 20.38 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.3685, allocations: 299.3 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3685, allocations: 3.984 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.3685, allocations: 11.98 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.3686, allocations: 16.38 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.3689, allocations: 196.9 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.3706, allocations: 1.429 MB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.3708, allocations: 94.55 kB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.3709, allocations: 32.84 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.3709, allocations: 0 / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3709, allocations: 30.56 kB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.3709, allocations: 0 / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004585/0.3714, allocations: 158.7 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3714, allocations: 51.41 kB / 1.293 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.3716, allocations: 199.6 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3717, allocations: 29.7 kB / 1.293 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3718, allocations: 167.9 kB / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.3718, allocations: 23.8 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.3719, allocations: 45.56 kB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.372, allocations: 330.8 kB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.3721, allocations: 31.98 kB / 1.294 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3722, allocations: 102.5 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.3724, allocations: 148.4 kB / 1.294 GB, free: 352 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3724, allocations: 0 / 1.294 GB, free: 352 kB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003232/0.3728, allocations: 190.1 kB / 1.294 GB, free: 152 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3728, allocations: 8 kB / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3728, allocations: 80 / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.373, allocations: 33.19 kB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3731, allocations: 31.92 kB / 1.294 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.3744, allocations: 1.326 MB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.3745, allocations: 11.89 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.3745, allocations: 12 kB / 1.296 GB, free: 14.61 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.0001522/0.3746, allocations: 145.7 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.3747, allocations: 11.91 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.3747, allocations: 25.48 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3747, allocations: 4 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.3747, allocations: 0 / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3747, allocations: 0 / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.3753, allocations: 422.2 kB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3753, allocations: 4 kB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.3753, allocations: 4 kB / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.199e-05/0.3754, allocations: 28.84 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3754, allocations: 3.938 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.3766, allocations: 1.307 MB / 1.297 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3766, allocations: 4 kB / 1.297 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.3769, allocations: 216.2 kB / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.3769, allocations: 15.91 kB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.3769, allocations: 7.984 kB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.377, allocations: 4.062 kB / 1.298 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.3771, allocations: 7.938 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3771, allocations: 3.984 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000157/0.3772, allocations: 148.8 kB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3772, allocations: 0 / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003203/0.3775, allocations: 51.89 kB / 1.298 GB, free: 12.02 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.0005857/0.3781, allocations: 0.7561 MB / 1.299 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.3785, allocations: 198.6 kB / 1.299 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3785, allocations: 288 / 1.299 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.3787, allocations: 155.1 kB / 1.299 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.3791, allocations: 42.08 kB / 1.299 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.3817, allocations: 2.04 MB / 1.301 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.3822, allocations: 0.7515 MB / 1.302 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.3823, allocations: 29.45 kB / 1.302 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3824, allocations: 51.42 kB / 1.302 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.3824, allocations: 0 / 1.302 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.4171, allocations: 3.887 MB / 1.306 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.08, allocations: 9.219 kB / 1.306 GB, free: 4.043 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: 18.873739330098033]