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.001635/0.001635, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.002019/0.002019, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.532/1.532, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.765/2.765, allocations: 476.7 MB / 0.7672 GB, free: 5.234 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="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.002019/0.002019, allocations: 68.14 kB / 1.112 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7984, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00854/0.807, allocations: 3.124 MB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004112/0.8111, allocations: 1.398 MB / 1.283 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.8114, allocations: 7.938 kB / 1.283 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.8131, allocations: 351.4 kB / 1.283 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007051/0.8138, allocations: 139.3 kB / 1.283 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.8144, allocations: 135.6 kB / 1.283 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006198/0.815, allocations: 299.1 kB / 1.284 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006038/0.8156, allocations: 194.1 kB / 1.284 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.8158, allocations: 127.5 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.8163, allocations: 147.5 kB / 1.284 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.8163, allocations: 16 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.8169, allocations: 171.6 kB / 1.284 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.817, allocations: 79.75 kB / 1.284 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.8172, allocations: 115.5 kB / 1.284 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007857/0.818, allocations: 346.6 kB / 1.285 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.818, allocations: 0 / 1.285 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.214e-06/0.818, allocations: 0 / 1.285 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.818, allocations: 0 / 1.285 GB, free: 6.754 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.001324/0.8193, allocations: 0.5182 MB / 1.285 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.8194, allocations: 12.03 kB / 1.285 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.928e-05/0.8195, allocations: 50.73 kB / 1.285 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000985/0.8205, allocations: 76.72 kB / 1.285 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000506/0.821, allocations: 252 kB / 1.286 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.821, allocations: 20.69 kB / 1.286 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.8211, allocations: 16.38 kB / 1.286 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007564/0.8218, allocations: 299.4 kB / 1.286 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.8218, allocations: 0 / 1.286 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.8219, allocations: 11.94 kB / 1.286 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/0.8219, allocations: 20.36 kB / 1.286 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004764/0.8224, allocations: 200.9 kB / 1.286 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.825, allocations: 1.456 MB / 1.288 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.8254, allocations: 175.7 kB / 1.288 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.8255, allocations: 29 kB / 1.288 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.8255, allocations: 3.984 kB / 1.288 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.8256, allocations: 42.5 kB / 1.288 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.8256, allocations: 0 / 1.288 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007291/0.8263, allocations: 219.8 kB / 1.288 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.8264, allocations: 59.39 kB / 1.288 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.8267, allocations: 188.8 kB / 1.288 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.8267, allocations: 25.7 kB / 1.288 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.8269, allocations: 175.9 kB / 1.288 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.827, allocations: 23.8 kB / 1.288 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.8271, allocations: 41.56 kB / 1.288 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.8273, allocations: 330.8 kB / 1.289 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.8274, allocations: 39.98 kB / 1.289 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.8276, allocations: 103.1 kB / 1.289 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.8279, allocations: 144.4 kB / 1.289 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8279, allocations: 0 / 1.289 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005127/0.8284, allocations: 194.3 kB / 1.289 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.8284, allocations: 4 kB / 1.289 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.8284, allocations: 4 kB / 1.289 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.8286, allocations: 28.78 kB / 1.289 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.8288, allocations: 27.98 kB / 1.289 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.8307, allocations: 1.422 MB / 1.291 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.8309, allocations: 15.98 kB / 1.291 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.8309, allocations: 11.94 kB / 1.291 GB, free: 15.96 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.0002324/0.8312, allocations: 158.3 kB / 1.291 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.8312, allocations: 15.89 kB / 1.291 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.8313, allocations: 17.39 kB / 1.291 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.8313, allocations: 4 kB / 1.291 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.8313, allocations: 0 / 1.291 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8313, allocations: 0 / 1.291 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008331/0.8321, allocations: 439.2 kB / 1.291 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.8321, allocations: 8 kB / 1.291 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.8322, allocations: 4 kB / 1.291 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.8323, allocations: 24.84 kB / 1.291 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.8324, allocations: 3.938 kB / 1.291 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.834, allocations: 1.422 MB / 1.293 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.834, allocations: 0 / 1.293 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.8344, allocations: 220.3 kB / 1.293 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.8346, allocations: 101 kB / 1.293 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.8346, allocations: 0 / 1.293 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.8348, allocations: 4 kB / 1.293 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.8348, allocations: 11.98 kB / 1.293 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.8348, allocations: 0 / 1.293 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002464/0.8351, allocations: 152.1 kB / 1.293 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8351, allocations: 0 / 1.293 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005942/0.8357, allocations: 55.89 kB / 1.293 GB, free: 13.11 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.0008424/0.8365, allocations: 0.7405 MB / 1.294 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006119/0.8371, allocations: 206.7 kB / 1.294 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8371, allocations: 0 / 1.294 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.8374, allocations: 146.6 kB / 1.294 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.838, allocations: 31.92 kB / 1.294 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.8419, allocations: 2.063 MB / 1.296 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.8426, allocations: 0.7475 MB / 1.297 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002085/0.8428, allocations: 25.92 kB / 1.297 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.8429, allocations: 55.41 kB / 1.297 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of SimCode: time 9.51e-07/0.8429, allocations: 0 / 1.297 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04189/0.8848, allocations: 3.757 MB / 1.301 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.832/10.72, allocations: 8.297 kB / 1.301 GB, free: 5.242 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable sen.I in file Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv. Warning: Get data of variable sen.I from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.847132958006114]