Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001489/0.001489, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002162/0.002162, allocations: 219.3 kB / 22.25 MB, free: 5.105 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.217/3.217, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="Buildings_12_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.002305/0.002305, allocations: 69.62 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3341, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005812/0.3399, allocations: 3.06 MB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.3425, allocations: 1.328 MB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.3428, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.344, allocations: 334.7 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.3445, allocations: 151.2 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.3449, allocations: 135.7 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005228/0.3455, allocations: 310.9 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004485/0.3459, allocations: 177.1 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.3462, allocations: 139.5 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.3465, allocations: 139.5 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.3466, allocations: 20 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.3469, allocations: 151.6 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.347, allocations: 83.73 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.3472, allocations: 95.64 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005782/0.3477, allocations: 334.8 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3477, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3477, allocations: 3.938 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.3478, allocations: 0 / 1.332 GB, free: 11.01 MB / 1.029 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.001009/0.3488, allocations: 457.5 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.3488, allocations: 12.02 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.035e-05/0.3489, allocations: 54.73 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006338/0.3495, allocations: 80.72 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.35, allocations: 187.9 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.35, allocations: 12.75 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.3501, allocations: 20.38 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.3506, allocations: 376.4 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3506, allocations: 0 / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.3507, allocations: 8 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.582e-05/0.3507, allocations: 24.36 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.351, allocations: 196.9 kB / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.3527, allocations: 1.035 MB / 1.334 GB, free: 8.398 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.353, allocations: 94.59 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.353, allocations: 32.84 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.3531, allocations: 4 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3531, allocations: 30.56 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.3531, allocations: 0 / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004829/0.3536, allocations: 154.3 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3536, allocations: 55.39 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3538, allocations: 198.3 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3539, allocations: 29.7 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.354, allocations: 167.9 kB / 1.335 GB, free: 7.586 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.354, allocations: 27.95 kB / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.3541, allocations: 37.7 kB / 1.335 GB, free: 7.516 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.3543, allocations: 326.8 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.3543, allocations: 40.05 kB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3545, allocations: 102.2 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.3547, allocations: 148.4 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3547, allocations: 0 / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003544/0.355, allocations: 190.2 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.355, allocations: 4 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3551, allocations: 4.281 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.3552, allocations: 28.84 kB / 1.336 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3554, allocations: 31.92 kB / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.3567, allocations: 1.307 MB / 1.337 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.3568, allocations: 19.84 kB / 1.337 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3568, allocations: 8 kB / 1.337 GB, free: 5.125 MB / 1.029 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.0001823/0.357, allocations: 157.8 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.357, allocations: 19.89 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.3571, allocations: 17.41 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3571, allocations: 0 / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3571, allocations: 0 / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3571, allocations: 144 / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.3577, allocations: 410.3 kB / 1.338 GB, free: 4.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3577, allocations: 3.938 kB / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.3577, allocations: 4 kB / 1.338 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.482e-05/0.3578, allocations: 28.84 kB / 1.338 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3578, allocations: 0 / 1.338 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.3591, allocations: 1.316 MB / 1.339 GB, free: 3.004 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3591, allocations: 4.031 kB / 1.339 GB, free: 3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.3594, allocations: 208.6 kB / 1.34 GB, free: 2.777 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.3595, allocations: 24.05 kB / 1.34 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.3595, allocations: 4 kB / 1.34 GB, free: 2.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3596, allocations: 8 kB / 1.34 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.3596, allocations: 7.922 kB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3596, allocations: 4 kB / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001519/0.3598, allocations: 147 kB / 1.34 GB, free: 2.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 1.34 GB, free: 2.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003532/0.3601, allocations: 51.89 kB / 1.34 GB, free: 2.535 MB / 1.029 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.000638/0.3608, allocations: 0.7561 MB / 1.34 GB, free: 1.746 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004164/0.3612, allocations: 202.6 kB / 1.341 GB, free: 1.535 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3612, allocations: 0 / 1.341 GB, free: 1.535 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.3613, allocations: 142.6 kB / 1.341 GB, free: 1.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3617, allocations: 34.73 kB / 1.341 GB, free: 1.352 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.3643, allocations: 2.051 MB / 1.343 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.3644, allocations: 143.8 kB / 1.343 GB, free: 15 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.3645, allocations: 25.45 kB / 1.343 GB, free: 14.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.3646, allocations: 55.42 kB / 1.343 GB, free: 14.93 MB / 1.045 GB Notification: Performance of SimCode: time 9.42e-07/0.3646, allocations: 0 / 1.343 GB, free: 14.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.4, allocations: 4.441 MB / 1.347 GB, free: 10.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.63, allocations: 5.812 kB / 1.347 GB, free: 10.66 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Electrical_DC_Lines_Examples_Resistance.fmu > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv. Warning: Get data of variable sen.I from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.45225934998598]