Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008935/0.0008935, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001065/0.001065, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9121/0.9121, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.737/1.737, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.RCModel,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.487e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003833/0.003848, allocations: 4.219 MB / 0.9851 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002073/0.005922, allocations: 1.834 MB / 0.9868 GB, free: 12.52 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.006055, allocations: 15.88 kB / 0.9869 GB, free: 12.5 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008329/0.006888, allocations: 0.5951 MB / 0.9874 GB, free: 11.9 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.007231, allocations: 266.4 kB / 0.9877 GB, free: 11.64 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.007555, allocations: 257 kB / 0.9879 GB, free: 11.39 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.007983, allocations: 0.6266 MB / 0.9886 GB, free: 10.76 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/0.008396, allocations: 351.1 kB / 0.9889 GB, free: 10.42 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.008643, allocations: 347.1 kB / 0.9892 GB, free: 10.08 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.008957, allocations: 243.3 kB / 0.9895 GB, free: 9.844 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.008997, allocations: 36 kB / 0.9895 GB, free: 9.809 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.009228, allocations: 243.3 kB / 0.9897 GB, free: 9.57 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.009332, allocations: 163.5 kB / 0.9899 GB, free: 9.41 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.009436, allocations: 151.7 kB / 0.99 GB, free: 9.262 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.009889, allocations: 0.6231 MB / 0.9906 GB, free: 8.637 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.009892, allocations: 0 / 0.9906 GB, free: 8.637 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.009893, allocations: 0 / 0.9906 GB, free: 8.637 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.009898, allocations: 3.938 kB / 0.9906 GB, free: 8.633 MB / 0.948 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.0007751/0.01067, allocations: 0.6571 MB / 0.9913 GB, free: 7.941 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.01071, allocations: 8.031 kB / 0.9913 GB, free: 7.934 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.184e-05/0.01077, allocations: 78.7 kB / 0.9914 GB, free: 7.848 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.01126, allocations: 148.5 kB / 0.9915 GB, free: 7.703 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.01156, allocations: 284.4 kB / 0.9918 GB, free: 7.398 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.01158, allocations: 21.38 kB / 0.9918 GB, free: 7.379 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.01162, allocations: 40.36 kB / 0.9918 GB, free: 7.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.01219, allocations: 0.6903 MB / 0.9925 GB, free: 6.578 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.0122, allocations: 4.188 kB / 0.9925 GB, free: 6.574 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.01223, allocations: 16.12 kB / 0.9925 GB, free: 6.559 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.01226, allocations: 36.62 kB / 0.9926 GB, free: 6.523 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.0129, allocations: 386.3 kB / 0.9929 GB, free: 6.145 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.01427, allocations: 1.718 MB / 0.9946 GB, free: 4.348 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.01461, allocations: 242.5 kB / 0.9948 GB, free: 4.102 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.01471, allocations: 95.39 kB / 0.9949 GB, free: 4.008 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.01473, allocations: 7.938 kB / 0.9949 GB, free: 4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.01475, allocations: 34.56 kB / 0.995 GB, free: 3.957 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.01475, allocations: 0 / 0.995 GB, free: 3.957 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.001255/0.016, allocations: 0.9067 MB / 0.9959 GB, free: 3.008 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.01604, allocations: 59.41 kB / 0.9959 GB, free: 2.938 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.01624, allocations: 304.5 kB / 0.9962 GB, free: 2.633 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.01626, allocations: 25.7 kB / 0.9962 GB, free: 2.602 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.01635, allocations: 236.2 kB / 0.9964 GB, free: 2.367 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.0164, allocations: 83.27 kB / 0.9965 GB, free: 2.285 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.01646, allocations: 69.98 kB / 0.9966 GB, free: 2.207 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.01655, allocations: 338.8 kB / 0.9969 GB, free: 1.867 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.01666, allocations: 104.5 kB / 0.997 GB, free: 1.766 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.0168, allocations: 199.7 kB / 0.9972 GB, free: 1.531 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.01707, allocations: 309.9 kB / 0.9975 GB, free: 1.195 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01707, allocations: 4 kB / 0.9975 GB, free: 1.191 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004432/0.01752, allocations: 443.5 kB / 0.9979 GB, free: 0.7461 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.01753, allocations: 7.984 kB / 0.9979 GB, free: 0.7383 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01754, allocations: 4 kB / 0.9979 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.01774, allocations: 94.5 kB / 0.998 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.01789, allocations: 68 kB / 0.9981 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.02006, allocations: 4.074 MB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.02017, allocations: 8 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.02018, allocations: 12 kB / 1.002 GB, free: 12.12 MB / 0.9636 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.0001287/0.02031, allocations: 181.7 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.02035, allocations: 31.81 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.02038, allocations: 42.34 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.02038, allocations: 4.094 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.02039, allocations: 4 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.02039, allocations: 3.938 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.02066, allocations: 336.7 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02066, allocations: 0 / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/0.02076, allocations: 43.89 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.02093, allocations: 94.5 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.02094, allocations: 3.938 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.02301, allocations: 4.063 MB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02302, allocations: 0 / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.02351, allocations: 0.5549 MB / 1.007 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.02357, allocations: 47.81 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.02359, allocations: 8.219 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.873e-05/0.02369, allocations: 12 kB / 1.007 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.02373, allocations: 19.81 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.02374, allocations: 11.94 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001357/0.02387, allocations: 207.1 kB / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02387, allocations: 0 / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002834/0.02415, allocations: 103.9 kB / 1.008 GB, free: 5.949 MB / 0.9636 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.0006775/0.02483, allocations: 1.1 MB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.02535, allocations: 0.5981 MB / 1.009 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02536, allocations: 0 / 1.009 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.02561, allocations: 463.7 kB / 1.01 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.02594, allocations: 79.98 kB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.02876, allocations: 3.347 MB / 1.013 GB, free: 104 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/0.02928, allocations: 236.7 kB / 1.013 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.02941, allocations: 62.91 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.02951, allocations: 112.5 kB / 1.014 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of SimCode: time 6.51e-07/0.02951, allocations: 4 kB / 1.014 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.05507, allocations: 8.888 MB / 1.022 GB, free: 7.043 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.417, allocations: 17.8 kB / 1.022 GB, free: 7.031 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_ss.I from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable sen_dyn.I in file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable sen_dyn.I from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! Error: Could not read variable RC_ss.Vc in file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv. Warning: Get data of variable RC_ss.Vc from file Buildings_12_Buildings.Electrical.DC.Lines.Examples.RCModel_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.620506375096738]