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.001809/0.001809, allocations: 105 kB / 16.45 MB, free: 6.488 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.002214/0.002214, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.208/3.208, allocations: 0.49 GB / 0.7916 GB, free: 33.33 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.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.001984/0.001984, allocations: 77.56 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3372, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004973/0.3421, allocations: 3.118 MB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003223/0.3454, allocations: 2.017 MB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3455, allocations: 7.938 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000898/0.3464, allocations: 282.9 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.3468, allocations: 199.1 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.3475, allocations: 247.3 kB / 1.327 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.3479, allocations: 322.9 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.3482, allocations: 156.9 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.3484, allocations: 131.5 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.3487, allocations: 163.4 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.487e-05/0.3487, allocations: 20 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.3494, allocations: 427.1 kB / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3495, allocations: 83.8 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3496, allocations: 123.4 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006574/0.3503, allocations: 498.2 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3503, allocations: 0 / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3503, allocations: 0 / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3503, allocations: 0 / 1.328 GB, free: 11.57 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.000937/0.3512, allocations: 0.5724 MB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3513, allocations: 15.98 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.875e-05/0.3513, allocations: 54.73 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008135/0.3521, allocations: 108.7 kB / 1.329 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.3525, allocations: 276.9 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3525, allocations: 12.81 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.3526, allocations: 20.38 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.3531, allocations: 357.2 kB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3531, allocations: 3.938 kB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.3532, allocations: 7.984 kB / 1.33 GB, free: 10.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.3532, allocations: 28.42 kB / 1.33 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.3537, allocations: 297.5 kB / 1.33 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.3559, allocations: 1.73 MB / 1.332 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005105/0.3564, allocations: 330 kB / 1.332 GB, free: 7.457 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3566, allocations: 105.6 kB / 1.332 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.3567, allocations: 89.09 kB / 1.332 GB, free: 7.242 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3567, allocations: 34.5 kB / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3567, allocations: 0 / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002615/0.3594, allocations: 0.9764 MB / 1.333 GB, free: 6.188 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.3594, allocations: 88.97 kB / 1.333 GB, free: 6.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.3597, allocations: 211.8 kB / 1.333 GB, free: 5.859 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.3597, allocations: 33.7 kB / 1.334 GB, free: 5.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3598, allocations: 168.5 kB / 1.334 GB, free: 5.652 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.3599, allocations: 83.3 kB / 1.334 GB, free: 5.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.36, allocations: 65.66 kB / 1.334 GB, free: 5.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3601, allocations: 330.8 kB / 1.334 GB, free: 5.168 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.3604, allocations: 131.9 kB / 1.334 GB, free: 5.039 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.3606, allocations: 213.2 kB / 1.334 GB, free: 4.797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.3611, allocations: 368.1 kB / 1.335 GB, free: 4.406 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3611, allocations: 3.938 kB / 1.335 GB, free: 4.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008894/0.362, allocations: 0.506 MB / 1.335 GB, free: 3.879 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.362, allocations: 8 kB / 1.335 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.362, allocations: 0 / 1.335 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005386/0.3626, allocations: 151.4 kB / 1.335 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.3628, allocations: 59.91 kB / 1.336 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/0.3666, allocations: 4.194 MB / 1.34 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3668, allocations: 15.98 kB / 1.34 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.3668, allocations: 16 kB / 1.34 GB, free: 15.09 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.0001785/0.367, allocations: 165.7 kB / 1.34 GB, free: 14.92 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.3671, allocations: 19.91 kB / 1.34 GB, free: 14.9 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000904/0.368, allocations: 480.9 kB / 1.34 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.368, allocations: 7.938 kB / 1.34 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.368, allocations: 3.984 kB / 1.34 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.368, allocations: 0 / 1.34 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.3696, allocations: 0.9961 MB / 1.341 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3696, allocations: 3.938 kB / 1.341 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.3698, allocations: 39.91 kB / 1.341 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.3702, allocations: 131.6 kB / 1.341 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.3702, allocations: 12 kB / 1.341 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/0.3737, allocations: 4.151 MB / 1.346 GB, free: 8.633 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.3737, allocations: 8.078 kB / 1.346 GB, free: 8.625 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.3746, allocations: 0.6217 MB / 1.346 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3748, allocations: 128.9 kB / 1.346 GB, free: 7.805 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.3748, allocations: 11.98 kB / 1.346 GB, free: 7.793 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.375, allocations: 19.98 kB / 1.346 GB, free: 7.773 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.3751, allocations: 23.97 kB / 1.346 GB, free: 7.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3751, allocations: 8 kB / 1.346 GB, free: 7.742 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001714/0.3753, allocations: 165.4 kB / 1.346 GB, free: 7.582 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3753, allocations: 0 / 1.346 GB, free: 7.582 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005366/0.3758, allocations: 99.86 kB / 1.347 GB, free: 7.484 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.001351/0.3772, allocations: 1.194 MB / 1.348 GB, free: 6.223 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.3782, allocations: 0.5684 MB / 1.348 GB, free: 5.633 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3782, allocations: 0 / 1.348 GB, free: 5.633 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.3788, allocations: 394.1 kB / 1.349 GB, free: 5.223 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.3793, allocations: 39.98 kB / 1.349 GB, free: 5.184 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00463/0.3839, allocations: 3.346 MB / 1.352 GB, free: 1.629 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.3844, allocations: 0.779 MB / 1.353 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.3846, allocations: 62.23 kB / 1.353 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.3847, allocations: 71.41 kB / 1.353 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.3847, allocations: 0 / 1.353 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0406/0.4253, allocations: 6.865 MB / 1.36 GB, free: 9.988 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.94, allocations: 5.859 kB / 1.36 GB, free: 9.984 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.679637267021462]