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.001839/0.001839, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002001/0.002001, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.756/2.756, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 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.00203/0.00203, allocations: 61.47 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9134/0.9155, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005345/0.9208, allocations: 3.135 MB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002713/0.9235, allocations: 1.394 MB / 1.283 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.9237, allocations: 8.094 kB / 1.283 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.9248, allocations: 340.8 kB / 1.284 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.9252, allocations: 141.2 kB / 1.284 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.9256, allocations: 146.7 kB / 1.284 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.9261, allocations: 302.2 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004144/0.9265, allocations: 187.9 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.9267, allocations: 131 kB / 1.285 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.927, allocations: 146.7 kB / 1.285 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.927, allocations: 18.06 kB / 1.285 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.9274, allocations: 170.9 kB / 1.285 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.9275, allocations: 73.94 kB / 1.285 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.9276, allocations: 113.4 kB / 1.285 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005534/0.9282, allocations: 354.5 kB / 1.285 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9282, allocations: 0 / 1.285 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9282, allocations: 0 / 1.285 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.9282, allocations: 1.375 kB / 1.285 GB, free: 7.676 MB / 0.9981 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.0009271/0.9291, allocations: 0.513 MB / 1.286 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.9291, allocations: 10.69 kB / 1.286 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.287e-05/0.9292, allocations: 6.797 kB / 1.286 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.9292, allocations: 62.38 kB / 1.286 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005733/0.9298, allocations: 79.19 kB / 1.286 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.9301, allocations: 245.8 kB / 1.286 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.9302, allocations: 16.84 kB / 1.286 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.9302, allocations: 16.44 kB / 1.286 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.9307, allocations: 302.5 kB / 1.287 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.9307, allocations: 5.062 kB / 1.287 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.9307, allocations: 10.31 kB / 1.287 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.9307, allocations: 16.58 kB / 1.287 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.9311, allocations: 193.9 kB / 1.287 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.9326, allocations: 1.46 MB / 1.288 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.9329, allocations: 178.1 kB / 1.288 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.933, allocations: 30.25 kB / 1.288 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.933, allocations: 3.938 kB / 1.288 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.933, allocations: 33.75 kB / 1.288 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.933, allocations: 0 / 1.288 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005305/0.9335, allocations: 226.2 kB / 1.289 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.9336, allocations: 57.14 kB / 1.289 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.9338, allocations: 190.2 kB / 1.289 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.9338, allocations: 29.7 kB / 1.289 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.934, allocations: 167.7 kB / 1.289 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.934, allocations: 29.48 kB / 1.289 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.9341, allocations: 48.03 kB / 1.289 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9342, allocations: 327.1 kB / 1.289 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.9343, allocations: 34.98 kB / 1.29 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.9344, allocations: 95.05 kB / 1.29 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.9346, allocations: 153.9 kB / 1.29 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9346, allocations: 0 / 1.29 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003675/0.935, allocations: 187.9 kB / 1.29 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.935, allocations: 6.094 kB / 1.29 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.935, allocations: 1.812 kB / 1.29 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.9352, allocations: 30.39 kB / 1.29 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.9354, allocations: 33.77 kB / 1.29 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.9368, allocations: 1.423 MB / 1.291 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.9369, allocations: 13.27 kB / 1.291 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.9369, allocations: 7.125 kB / 1.291 GB, free: 2.402 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.0001806/0.9371, allocations: 157.6 kB / 1.292 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.9371, allocations: 19.69 kB / 1.292 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.9372, allocations: 19.28 kB / 1.292 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.9372, allocations: 1 kB / 1.292 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.9372, allocations: 1.078 kB / 1.292 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9372, allocations: 1.25 kB / 1.292 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/0.9378, allocations: 440.1 kB / 1.292 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9378, allocations: 0 / 1.292 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-05/0.9379, allocations: 7.156 kB / 1.292 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.444e-05/0.9379, allocations: 27.84 kB / 1.292 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.938, allocations: 0 / 1.292 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.9391, allocations: 1.416 MB / 1.293 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9391, allocations: 6.484 kB / 1.293 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.9395, allocations: 212.9 kB / 1.294 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/0.9396, allocations: 99.34 kB / 1.294 GB, free: 152 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.9396, allocations: 6.266 kB / 1.294 GB, free: 148 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.9397, allocations: 7.078 kB / 1.294 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.9397, allocations: 4.688 kB / 1.294 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.9397, allocations: 2.562 kB / 1.294 GB, free: 144 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001571/0.9399, allocations: 150.5 kB / 1.294 GB, free: 40 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9399, allocations: 0 / 1.294 GB, free: 40 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003385/0.9402, allocations: 55.92 kB / 1.294 GB, free: 24 kB / 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.0005834/0.9408, allocations: 0.7448 MB / 1.295 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004/0.9412, allocations: 206.6 kB / 1.295 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9412, allocations: 0.5625 kB / 1.295 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.9414, allocations: 151.4 kB / 1.295 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.9417, allocations: 39.91 kB / 1.295 GB, free: 15.03 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.9443, allocations: 2.054 MB / 1.297 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.9447, allocations: 0.7506 MB / 1.298 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.9448, allocations: 24.58 kB / 1.298 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.828e-05/0.9449, allocations: 51.52 kB / 1.298 GB, free: 12.63 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/0.9449, allocations: 0 / 1.298 GB, free: 12.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.9696, allocations: 3.801 MB / 1.302 GB, free: 12.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.14, allocations: 12 kB / 1.302 GB, free: 12.01 MB / 1.014 GB " [Timeout remaining time 289] (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: 17.259676647023298]