Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.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.0008594/0.0008594, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009235/0.0009235, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8778/0.8778, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.649/1.649, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.RCModel,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.633e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003995/0.004011, allocations: 4.237 MB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.005774, allocations: 1.811 MB / 0.9564 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.005913, allocations: 15.88 kB / 0.9564 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008626/0.006776, allocations: 0.5963 MB / 0.957 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.007129, allocations: 270.2 kB / 0.9572 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.007459, allocations: 266.7 kB / 0.9575 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004883/0.007947, allocations: 0.6343 MB / 0.9581 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/0.008469, allocations: 339.1 kB / 0.9584 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.008793, allocations: 347.2 kB / 0.9588 GB, free: 11 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.009223, allocations: 243.3 kB / 0.959 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.805e-05/0.009281, allocations: 39.98 kB / 0.959 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.009607, allocations: 223.4 kB / 0.9592 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.009759, allocations: 171.5 kB / 0.9594 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.009913, allocations: 155.7 kB / 0.9595 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005276/0.01044, allocations: 0.6269 MB / 0.9602 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.01044, allocations: 0 / 0.9602 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01044, allocations: 0 / 0.9602 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.01045, allocations: 7.938 kB / 0.9602 GB, free: 9.551 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001051/0.0115, allocations: 0.6531 MB / 0.9608 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.01154, allocations: 12.03 kB / 0.9608 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.571e-05/0.01163, allocations: 78.7 kB / 0.9609 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/0.01245, allocations: 156.5 kB / 0.961 GB, free: 8.617 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.01288, allocations: 264.6 kB / 0.9613 GB, free: 8.336 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.0129, allocations: 33.31 kB / 0.9613 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.01296, allocations: 28.38 kB / 0.9614 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007722/0.01373, allocations: 0.6826 MB / 0.962 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01374, allocations: 192 / 0.962 GB, free: 7.52 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.01377, allocations: 24.11 kB / 0.962 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.01381, allocations: 28.64 kB / 0.9621 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.01429, allocations: 390.3 kB / 0.9624 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.01627, allocations: 1.738 MB / 0.9641 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.01666, allocations: 242.4 kB / 0.9644 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.0168, allocations: 100.8 kB / 0.9645 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.01681, allocations: 7.984 kB / 0.9645 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.01683, allocations: 34.56 kB / 0.9645 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.01683, allocations: 0 / 0.9645 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.001939/0.01877, allocations: 0.9028 MB / 0.9654 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.01881, allocations: 51.41 kB / 0.9654 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.01906, allocations: 308.4 kB / 0.9657 GB, free: 3.555 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.01908, allocations: 33.7 kB / 0.9658 GB, free: 3.516 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.01918, allocations: 228.2 kB / 0.966 GB, free: 3.289 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.01922, allocations: 91.25 kB / 0.9661 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.01929, allocations: 61.98 kB / 0.9661 GB, free: 3.125 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.01937, allocations: 342.8 kB / 0.9665 GB, free: 2.781 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.01948, allocations: 104.6 kB / 0.9666 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.01963, allocations: 199.6 kB / 0.9667 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.0199, allocations: 319.5 kB / 0.9671 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.0199, allocations: 0 / 0.9671 GB, free: 2.098 MB / 0.9167 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004492/0.02035, allocations: 441.9 kB / 0.9675 GB, free: 1.652 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.02036, allocations: 8 kB / 0.9675 GB, free: 1.645 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.02037, allocations: 0 / 0.9675 GB, free: 1.645 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.02058, allocations: 106.8 kB / 0.9676 GB, free: 1.531 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.02073, allocations: 63.91 kB / 0.9676 GB, free: 1.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/0.0226, allocations: 4.053 MB / 0.9716 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.0227, allocations: 12 kB / 0.9716 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.02272, allocations: 12 kB / 0.9716 GB, free: 13.05 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.02284, allocations: 193.9 kB / 0.9718 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.02288, allocations: 31.81 kB / 0.9718 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.02291, allocations: 50.42 kB / 0.9719 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02291, allocations: 7.984 kB / 0.9719 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.02292, allocations: 0 / 0.9719 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.02292, allocations: 0 / 0.9719 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.02341, allocations: 336.6 kB / 0.9722 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.02341, allocations: 0 / 0.9722 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.924e-05/0.02351, allocations: 39.97 kB / 0.9723 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.02367, allocations: 90.44 kB / 0.9723 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.02368, allocations: 7.938 kB / 0.9723 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.02535, allocations: 4.046 MB / 0.9763 GB, free: 7.852 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02535, allocations: 4.281 kB / 0.9763 GB, free: 7.848 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.02583, allocations: 0.5598 MB / 0.9768 GB, free: 7.262 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.0259, allocations: 47.83 kB / 0.9769 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.02592, allocations: 3.984 kB / 0.9769 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.02602, allocations: 12 kB / 0.9769 GB, free: 7.199 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.02605, allocations: 23.91 kB / 0.9769 GB, free: 7.176 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.02606, allocations: 4 kB / 0.9769 GB, free: 7.172 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001314/0.02619, allocations: 219.1 kB / 0.9771 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.02619, allocations: 0 / 0.9771 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000268/0.02646, allocations: 92 kB / 0.9772 GB, free: 6.867 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006509/0.02711, allocations: 1.096 MB / 0.9783 GB, free: 5.738 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007294/0.02784, allocations: 0.6012 MB / 0.9789 GB, free: 5.098 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02784, allocations: 0 / 0.9789 GB, free: 5.098 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002509/0.02809, allocations: 463.3 kB / 0.9793 GB, free: 4.609 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.0284, allocations: 81.67 kB / 0.9794 GB, free: 4.535 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.03102, allocations: 3.343 MB / 0.9827 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.03117, allocations: 224.7 kB / 0.9829 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.03129, allocations: 66.91 kB / 0.983 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.0314, allocations: 116.5 kB / 0.9831 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of SimCode: time 6.11e-07/0.0314, allocations: 0 / 0.9831 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.05561, allocations: 8.89 MB / 0.9917 GB, free: 7.957 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.222, allocations: 0 / 0.9917 GB, free: 7.957 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv --start-time 0 --stop-time 15 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_11_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sen_ss.I in file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_ss.I from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable sen_dyn.I in file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_dyn.I from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable RC_ss.Vc in file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable RC_ss.Vc from file Buildings_11_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.18506604898721]