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.001596/0.001596, allocations: 111.8 kB / 18.13 MB, free: 3.684 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.001832/0.001832, allocations: 198.2 kB / 21.43 MB, free: 412 kB / 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.424/1.424, allocations: 225.6 MB / 250.2 MB, free: 13.29 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.736/2.736, allocations: 476.7 MB / 0.7637 GB, free: 10.1 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.00209/0.00209, allocations: 63.89 kB / 1.108 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7593/0.7614, allocations: 168.7 MB / 1.273 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005935/0.7673, allocations: 3.176 MB / 1.276 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002701/0.77, allocations: 1.387 MB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.7702, allocations: 7.938 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.7714, allocations: 342.7 kB / 1.278 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.7718, allocations: 147.3 kB / 1.278 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.7723, allocations: 143 kB / 1.278 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004838/0.7727, allocations: 299 kB / 1.278 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.7732, allocations: 174.1 kB / 1.278 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.7734, allocations: 119.6 kB / 1.278 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.7738, allocations: 143.5 kB / 1.279 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.7739, allocations: 16 kB / 1.279 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.7742, allocations: 175.6 kB / 1.279 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.7743, allocations: 87.73 kB / 1.279 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.7745, allocations: 115.5 kB / 1.279 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006089/0.7751, allocations: 346.7 kB / 1.279 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.7751, allocations: 0 / 1.279 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7751, allocations: 0 / 1.279 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.7751, allocations: 0 / 1.279 GB, free: 13.69 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.001015/0.7761, allocations: 0.5065 MB / 1.28 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.7762, allocations: 12.03 kB / 1.28 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.833e-05/0.7763, allocations: 62.72 kB / 1.28 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/0.7769, allocations: 76.72 kB / 1.28 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.7773, allocations: 254.5 kB / 1.28 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.7773, allocations: 12.75 kB / 1.28 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.7774, allocations: 16.38 kB / 1.28 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.7779, allocations: 315.3 kB / 1.28 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.7779, allocations: 3.938 kB / 1.281 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.7779, allocations: 8 kB / 1.281 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.778, allocations: 16.38 kB / 1.281 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.7783, allocations: 196.9 kB / 1.281 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.7801, allocations: 1.456 MB / 1.282 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.7804, allocations: 171.7 kB / 1.282 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.7805, allocations: 32.84 kB / 1.282 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.7805, allocations: 48 / 1.282 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.7805, allocations: 42.48 kB / 1.282 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.7805, allocations: 4 kB / 1.282 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005656/0.7811, allocations: 223.5 kB / 1.283 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.7811, allocations: 55.41 kB / 1.283 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.7814, allocations: 198.3 kB / 1.283 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.7814, allocations: 29.64 kB / 1.283 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.7815, allocations: 171.9 kB / 1.283 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.7815, allocations: 27.78 kB / 1.283 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.7816, allocations: 33.72 kB / 1.283 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7818, allocations: 334.7 kB / 1.283 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/0.7818, allocations: 35.97 kB / 1.283 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.782, allocations: 98.2 kB / 1.284 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.7822, allocations: 148.6 kB / 1.284 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7822, allocations: 0 / 1.284 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003394/0.7825, allocations: 190.2 kB / 1.284 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.7825, allocations: 4 kB / 1.284 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.7826, allocations: 8.219 kB / 1.284 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.7827, allocations: 32.78 kB / 1.284 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.7829, allocations: 23.98 kB / 1.284 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.7842, allocations: 1.422 MB / 1.285 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.7844, allocations: 19.84 kB / 1.285 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.7844, allocations: 8 kB / 1.285 GB, free: 6.895 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.0001742/0.7845, allocations: 162.2 kB / 1.285 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.7846, allocations: 11.91 kB / 1.285 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.7846, allocations: 13.41 kB / 1.286 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.7846, allocations: 4 kB / 1.286 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.7846, allocations: 0 / 1.286 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7846, allocations: 3.984 kB / 1.286 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.7853, allocations: 435.2 kB / 1.286 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7853, allocations: 4.062 kB / 1.286 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.7853, allocations: 12.08 kB / 1.286 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.652e-05/0.7854, allocations: 32.78 kB / 1.286 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.7854, allocations: 0 / 1.286 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.7866, allocations: 1.422 MB / 1.287 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7866, allocations: 0 / 1.287 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.7868, allocations: 212.2 kB / 1.288 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.7869, allocations: 101 kB / 1.288 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.787, allocations: 4.094 kB / 1.288 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.7871, allocations: 7.984 kB / 1.288 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.7871, allocations: 8 kB / 1.288 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.7871, allocations: 0 / 1.288 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001444/0.7873, allocations: 145.6 kB / 1.288 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7873, allocations: 0 / 1.288 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003498/0.7876, allocations: 47.89 kB / 1.288 GB, free: 4.043 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.0006188/0.7882, allocations: 0.7444 MB / 1.289 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.7887, allocations: 207 kB / 1.289 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7887, allocations: 64 / 1.289 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.7888, allocations: 146.7 kB / 1.289 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.7892, allocations: 32.62 kB / 1.289 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.7924, allocations: 2.067 MB / 1.291 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.793, allocations: 0.7514 MB / 1.292 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.7932, allocations: 29.7 kB / 1.292 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.7933, allocations: 51.42 kB / 1.292 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.7933, allocations: 3.938 kB / 1.292 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.8321, allocations: 3.727 MB / 1.295 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.856/10.69, allocations: 4.062 kB / 1.295 GB, free: 12.2 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.66110206861049]