Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001735/0.001735, allocations: 110.4 kB / 18.94 MB, free: 2.797 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.001769/0.001769, allocations: 223.2 kB / 22.26 MB, free: 5.211 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.977 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.067/3.067, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 177] 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.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",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.003127/0.003127, allocations: 73.73 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3516, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005253/0.3569, allocations: 3.194 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003417/0.3603, allocations: 2.049 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3604, allocations: 7.938 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009698/0.3614, allocations: 300.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.3618, allocations: 199.1 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.3625, allocations: 255.2 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.3629, allocations: 318.9 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/0.3633, allocations: 149.1 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.3635, allocations: 135.5 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.3638, allocations: 167.4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.3638, allocations: 20 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006718/0.3645, allocations: 427.2 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3646, allocations: 79.8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.3648, allocations: 123.4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006934/0.3655, allocations: 0.4904 MB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3655, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3655, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.3655, allocations: 3.984 kB / 1.334 GB, free: 10.04 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008709/0.3663, allocations: 0.4933 MB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3664, allocations: 8.031 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.652e-05/0.3664, allocations: 58.73 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007862/0.3672, allocations: 112.7 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.3676, allocations: 211.6 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3676, allocations: 20.81 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.3676, allocations: 20.31 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.3682, allocations: 352.8 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3682, allocations: 0 / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.3682, allocations: 8 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.3683, allocations: 32.42 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.3688, allocations: 293.5 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.3712, allocations: 1.627 MB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.3717, allocations: 245 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.3718, allocations: 109.5 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/0.3719, allocations: 11.98 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3719, allocations: 30.56 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3719, allocations: 0 / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002494/0.3744, allocations: 0.904 MB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.3745, allocations: 89.03 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.3747, allocations: 211.8 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.3748, allocations: 29.7 kB / 1.338 GB, free: 4.895 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.3749, allocations: 176.5 kB / 1.338 GB, free: 4.715 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.235e-05/0.375, allocations: 79.33 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3751, allocations: 61.66 kB / 1.339 GB, free: 4.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3752, allocations: 330.8 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3754, allocations: 131.9 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.3757, allocations: 217.2 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.3762, allocations: 367.1 kB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3762, allocations: 4 kB / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009227/0.3772, allocations: 0.5043 MB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3772, allocations: 4 kB / 1.34 GB, free: 2.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3772, allocations: 8 kB / 1.34 GB, free: 2.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/0.3777, allocations: 159.5 kB / 1.34 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.378, allocations: 59.91 kB / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.3815, allocations: 3.979 MB / 1.344 GB, free: 14.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.3817, allocations: 19.98 kB / 1.344 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.3817, allocations: 12 kB / 1.344 GB, free: 14.41 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.3819, allocations: 172.4 kB / 1.344 GB, free: 14.24 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.382, allocations: 27.86 kB / 1.344 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009029/0.3829, allocations: 466.6 kB / 1.345 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3829, allocations: 4 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3829, allocations: 4 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3829, allocations: 3.984 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.3846, allocations: 0.9691 MB / 1.346 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3846, allocations: 4 kB / 1.346 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.3847, allocations: 31.92 kB / 1.346 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000409/0.3851, allocations: 143.6 kB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.3851, allocations: 8.094 kB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003283/0.3884, allocations: 3.956 MB / 1.35 GB, free: 8.238 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3884, allocations: 4.156 kB / 1.35 GB, free: 8.234 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009052/0.3893, allocations: 0.6212 MB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.3895, allocations: 51.81 kB / 1.351 GB, free: 7.512 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.3895, allocations: 11.95 kB / 1.351 GB, free: 7.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.3897, allocations: 11.98 kB / 1.351 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.3898, allocations: 31.89 kB / 1.351 GB, free: 7.457 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.3898, allocations: 16 kB / 1.351 GB, free: 7.441 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000166/0.39, allocations: 153.5 kB / 1.351 GB, free: 7.293 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.39, allocations: 0 / 1.351 GB, free: 7.293 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005442/0.3905, allocations: 95.86 kB / 1.351 GB, free: 7.199 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00133/0.3918, allocations: 1.198 MB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.3929, allocations: 0.5633 MB / 1.353 GB, free: 5.344 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3929, allocations: 0 / 1.353 GB, free: 5.344 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.3934, allocations: 395.4 kB / 1.353 GB, free: 4.934 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.3941, allocations: 48.39 kB / 1.353 GB, free: 4.891 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004691/0.3988, allocations: 3.329 MB / 1.356 GB, free: 1.355 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.3992, allocations: 0.7829 MB / 1.357 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000179/0.3994, allocations: 66.22 kB / 1.357 GB, free: 492 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3995, allocations: 71.42 kB / 1.357 GB, free: 420 kB / 1.045 GB Notification: Performance of SimCode: time 1.012e-06/0.3995, allocations: 0 / 1.357 GB, free: 420 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03986/0.4394, allocations: 7.129 MB / 1.364 GB, free: 9.445 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.89, allocations: 13.52 kB / 1.364 GB, free: 9.438 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_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_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable grid.P.real in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.real from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable grid.P.apparent in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.apparent from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[1] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[1] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[2] in file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[2] from file Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.467437342000267]