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.001356/0.001356, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.001715/0.001715, allocations: 214.5 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.82 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.158/3.158, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 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.002029/0.002029, allocations: 65.17 kB / 1.153 GB, free: 25.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3055, allocations: 176.1 MB / 1.325 GB, free: 2.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00565/0.3111, allocations: 3.067 MB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003558/0.3147, allocations: 1.881 MB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.3149, allocations: 7.938 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.316, allocations: 286.9 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005782/0.3165, allocations: 195.1 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/0.3173, allocations: 247.3 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.3178, allocations: 326.9 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.3182, allocations: 149.1 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.3185, allocations: 139.5 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.3188, allocations: 147.4 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.3189, allocations: 20 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000746/0.3196, allocations: 383.2 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.3198, allocations: 83.78 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.3199, allocations: 99.53 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008388/0.3207, allocations: 0.4905 MB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3207, allocations: 7.938 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3207, allocations: 4 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.3207, allocations: 0 / 1.332 GB, free: 10.9 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.0009557/0.3217, allocations: 0.4932 MB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3217, allocations: 8.031 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.294e-05/0.3218, allocations: 58.72 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.3227, allocations: 108.7 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.3231, allocations: 219 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3231, allocations: 16.8 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.3232, allocations: 20.38 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.3238, allocations: 408.3 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3238, allocations: 3.938 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.3238, allocations: 4 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.3239, allocations: 28.42 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.3244, allocations: 285.5 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.3266, allocations: 1.279 MB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.3271, allocations: 233.6 kB / 1.335 GB, free: 7.582 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.3272, allocations: 105.6 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.3273, allocations: 12 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.3273, allocations: 42.48 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.3273, allocations: 0 / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002608/0.33, allocations: 0.898 MB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.33, allocations: 84.98 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.3303, allocations: 227.7 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3303, allocations: 29.7 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.3304, allocations: 172.5 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.3305, allocations: 91.25 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.3307, allocations: 61.66 kB / 1.337 GB, free: 5.793 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3308, allocations: 330.8 kB / 1.337 GB, free: 5.461 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.331, allocations: 127.9 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.3313, allocations: 209.2 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005248/0.3318, allocations: 370.6 kB / 1.338 GB, free: 4.703 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3318, allocations: 0 / 1.338 GB, free: 4.703 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009604/0.3328, allocations: 0.5068 MB / 1.339 GB, free: 4.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3328, allocations: 5.719 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.3328, allocations: 4 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.3334, allocations: 151.3 kB / 1.339 GB, free: 4.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.3337, allocations: 60.08 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/0.3373, allocations: 3.983 MB / 1.343 GB, free: 15.69 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.3376, allocations: 19.97 kB / 1.343 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.3376, allocations: 16 kB / 1.343 GB, free: 15.65 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.000204/0.3378, allocations: 162.2 kB / 1.343 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.3379, allocations: 23.95 kB / 1.343 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/0.3388, allocations: 470.6 kB / 1.343 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3388, allocations: 4 kB / 1.343 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3388, allocations: 0 / 1.343 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3388, allocations: 7.984 kB / 1.343 GB, free: 14.97 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.3406, allocations: 0.9326 MB / 1.344 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.3406, allocations: 8 kB / 1.344 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3407, allocations: 35.92 kB / 1.344 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.3411, allocations: 143.3 kB / 1.344 GB, free: 13.76 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.3412, allocations: 11.98 kB / 1.344 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.3446, allocations: 3.933 MB / 1.348 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.3447, allocations: 8.094 kB / 1.348 GB, free: 9.516 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009577/0.3456, allocations: 0.6235 MB / 1.349 GB, free: 8.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.3458, allocations: 55.77 kB / 1.349 GB, free: 8.785 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.3458, allocations: 8 kB / 1.349 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.346, allocations: 15.98 kB / 1.349 GB, free: 8.762 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.3461, allocations: 27.95 kB / 1.349 GB, free: 8.734 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.3461, allocations: 11.94 kB / 1.349 GB, free: 8.723 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001764/0.3463, allocations: 153.5 kB / 1.349 GB, free: 8.574 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3463, allocations: 4 kB / 1.349 GB, free: 8.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005613/0.3469, allocations: 95.92 kB / 1.349 GB, free: 8.477 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.001321/0.3482, allocations: 1.194 MB / 1.35 GB, free: 7.215 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.3492, allocations: 0.5681 MB / 1.351 GB, free: 6.625 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3492, allocations: 0 / 1.351 GB, free: 6.625 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005703/0.3498, allocations: 390.3 kB / 1.351 GB, free: 6.219 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.3503, allocations: 55.19 kB / 1.351 GB, free: 6.168 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.3551, allocations: 3.334 MB / 1.355 GB, free: 2.625 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3553, allocations: 177 kB / 1.355 GB, free: 2.43 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000185/0.3555, allocations: 58.23 kB / 1.355 GB, free: 2.371 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.3556, allocations: 71.41 kB / 1.355 GB, free: 2.301 MB / 1.045 GB Notification: Performance of SimCode: time 8.61e-07/0.3556, allocations: 0 / 1.355 GB, free: 2.301 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05159/0.4072, allocations: 7.361 MB / 1.362 GB, free: 11.13 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.5, allocations: 3.766 kB / 1.362 GB, free: 11.13 MB / 1.061 GB " [Timeout remaining time 286] (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: 20.249626748729497]