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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 105.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.707/2.707, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.89 kB / 1.104 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.8234, allocations: 168.7 MB / 1.269 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005583/0.829, allocations: 3.113 MB / 1.272 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.8316, allocations: 1.363 MB / 1.273 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.8318, allocations: 4 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.8329, allocations: 338.7 kB / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.8334, allocations: 147.3 kB / 1.274 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.8338, allocations: 139.6 kB / 1.274 GB, free: 60 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.8343, allocations: 310.9 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005113/0.8348, allocations: 186.2 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.8351, allocations: 119.6 kB / 1.274 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.8355, allocations: 151.5 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.8356, allocations: 20 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.836, allocations: 171.6 kB / 1.275 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.8361, allocations: 83.73 kB / 1.275 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.8363, allocations: 111.4 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.8369, allocations: 338.8 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8369, allocations: 0 / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8369, allocations: 0 / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.8369, allocations: 4 kB / 1.275 GB, free: 14.59 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.001082/0.838, allocations: 0.5182 MB / 1.276 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.838, allocations: 11.97 kB / 1.276 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.35e-05/0.8381, allocations: 54.73 kB / 1.276 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006395/0.8387, allocations: 80.72 kB / 1.276 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.8392, allocations: 253.8 kB / 1.276 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.8392, allocations: 16.75 kB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.8392, allocations: 16.38 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.8397, allocations: 295.3 kB / 1.276 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.8397, allocations: 0 / 1.276 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.8398, allocations: 15.98 kB / 1.276 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.8398, allocations: 20.36 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.8401, allocations: 193 kB / 1.277 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.842, allocations: 1.468 MB / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.8423, allocations: 167.7 kB / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.8423, allocations: 32.84 kB / 1.278 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.8424, allocations: 7.938 kB / 1.278 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.8424, allocations: 34.56 kB / 1.278 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.8424, allocations: 0 / 1.278 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005718/0.843, allocations: 227.6 kB / 1.278 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.843, allocations: 51.41 kB / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.8432, allocations: 202.2 kB / 1.279 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.8433, allocations: 33.7 kB / 1.279 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.8434, allocations: 163.9 kB / 1.279 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.8434, allocations: 27.78 kB / 1.279 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.8435, allocations: 37.7 kB / 1.279 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.8437, allocations: 322.8 kB / 1.279 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.8437, allocations: 35.98 kB / 1.279 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.8439, allocations: 106.8 kB / 1.279 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.8441, allocations: 148.4 kB / 1.28 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8441, allocations: 0 / 1.28 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000396/0.8445, allocations: 190.3 kB / 1.28 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.8445, allocations: 8 kB / 1.28 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8445, allocations: 0 / 1.28 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.8447, allocations: 24.84 kB / 1.28 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.8448, allocations: 35.92 kB / 1.28 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.8462, allocations: 1.426 MB / 1.281 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.8463, allocations: 19.84 kB / 1.281 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.8464, allocations: 8.156 kB / 1.281 GB, free: 7.781 MB / 0.9825 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.0001681/0.8465, allocations: 152.9 kB / 1.281 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.8466, allocations: 15.91 kB / 1.281 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.8466, allocations: 21.48 kB / 1.281 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.8466, allocations: 3.938 kB / 1.281 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.8466, allocations: 0 / 1.281 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.8466, allocations: 0 / 1.281 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.8473, allocations: 451.2 kB / 1.282 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8473, allocations: 0 / 1.282 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.8473, allocations: 8 kB / 1.282 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.491e-05/0.8474, allocations: 20.84 kB / 1.282 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.8474, allocations: 0 / 1.282 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.8486, allocations: 1.418 MB / 1.283 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8486, allocations: 0 / 1.283 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.8488, allocations: 220.3 kB / 1.283 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.8489, allocations: 93 kB / 1.283 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.8489, allocations: 8 kB / 1.284 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.849, allocations: 0 / 1.284 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.849, allocations: 7.984 kB / 1.284 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.8491, allocations: 4 kB / 1.284 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001418/0.8492, allocations: 141.6 kB / 1.284 GB, free: 5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8492, allocations: 0 / 1.284 GB, free: 5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003444/0.8495, allocations: 55.89 kB / 1.284 GB, free: 4.945 MB / 0.9825 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.0005789/0.8501, allocations: 0.7487 MB / 1.284 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.8505, allocations: 206.8 kB / 1.285 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8505, allocations: 0 / 1.285 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.8507, allocations: 142.7 kB / 1.285 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.8511, allocations: 42.58 kB / 1.285 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.8537, allocations: 2.065 MB / 1.287 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.8542, allocations: 0.7436 MB / 1.288 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.8543, allocations: 29.52 kB / 1.288 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.8544, allocations: 51.42 kB / 1.288 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/0.8544, allocations: 0 / 1.288 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.8881, allocations: 3.756 MB / 1.291 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.82/10.71, allocations: 15.81 kB / 1.291 GB, free: 13.07 MB / 0.9981 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_2/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: 16.694388024974614]